PHP Front To Back [Part 8] - Dates & Timestamps

preview_player
Показать описание
In this video we will look at the PHP date() function as well as mktime() and strtotime() to create dates and timestamps from strings

CODE: Code for this video

VISIT US:

EDUONIX COURSES: Pleas use affiliate links from website below

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:

FOLLOW TRAVERSY MEDIA:
Рекомендации по теме
Комментарии
Автор

Tomorrow, I have my 1st interview for an internship in front development. In case they asked me if I knew a bit of php, I wanted to find a good and clear tutorial... And here it is ! I also watched a lot of your videos on Angular, these are very simples and understandables !
Thanks for all of your great work, I will really consider buying some of your eduonix courses if they hire me lol.

TristanG.
Автор

Even though you have 1.17M subs at the time I'm writing it. You are still underrated!!! Lov your videoes, precise and short.

denialbot
Автор

In my humble opinion, you're a great teacher

WritingTheActs
Автор

Hay Brad... Got a job thanks to you and Net Ninja
Will be buying both of your Eduonix courses with my first check!

donovanvanderlinde
Автор

Thank you Brad,
After this series I will put PHP as a skill in my resume!

thiernoablayesy
Автор

Best info on this series... so far!
Thanks! I will be trying to figure out the number of days between two given-dates sometimes tomorrow!

guylemay
Автор

Loving your angular and nodejs tutorials! Since u're covering Programming-basics, will u be also doing a sharing on *Recursions* & *Decorator Functions*?
Also will u be covering ASP.net Core in the future as a backend web framework?

MrAllrounded
Автор

Man this is way underrated. Also holy shit, what an amazing teacher.

Gabriel
Автор

Hey brad, awesome teaching and I've already become a fan of yours. I'll definitely buy your course once I get a job to show my gratitude. Thanks a lot and god bless you.

Coco-ukyn
Автор

Brad, you are one of the coolest people ever! I deeply appreciate what you do for us, even though we are just a strangers behind the screens all over the planet! With your tutorials you helped me A LOT, so THANK YOU VERY, VERY MUCH! Be healthy and happy and keep rockin'! I'll take the risk to appear like a gay, and just say that I love you! :) I am broke now, but I promise you, the moment I get my first payment as developer, witch I believe will be soon, I will also support you, by buying some paid tutorial of yours! Bless you!

datsovtsvetan
Автор

wow, learned new thing. but the main, you birthday and my birthday is in same day. just 11 year difference....:D

TanjilBhuiyan
Автор

It seems much easier than formatting data in js

pola
Автор

Me
A new video loads, pause the video for a few second so that it is gonna load for longer time(my internet sucks anyway), like the video before even watching the video and start watching it . Thank you ❤

sangamadhikari
Автор

I personally hate the documentation of PHP. I learned a few things so thanks for the video.

EddyVinck
Автор

date_default_timezone_set() did not work for me for some reason, and I had to use:
$now = new DateTime();
$now->setTimezone(new
echo $now-> format('h:i:sa');
to change the correct time zone.

According to stackoverflow, servers should be set to UTC, and you should not be looking to change the default. Instead, what you want to do is create a DateTime object based on the time, then convert it to the timezone you want, and display.

Toleh
Автор

What if we want to set offset for timezones. I want a timezone that is not available in php . The nearest one is half hour behind. How can I solve this?

martyrdm
Автор

Why cant I get the DATE_FORMAT( ) FROM THE SQL TO WORK when I echo ?

joe-powell
Автор

Please explain what it is mean by 1458687600, why it is printing like that ? (8.20)

karthick
Автор

I am form pakistan I apperciate to you for become greatfull playlist. Sir make a video complete on make websites using bootstrap and php.thanks.. i am wait your reply

muhammadshahbazali
Автор

Actuly you have upper case ‘H’ which give you a value of 0-24 but lower case ‘h’ give you a value from 0-12!

programmingtacticalcode