Uploaded January 2021 | Updated November 2026, 3 hours ago
In this PHP tutorial, you will learn how to work with dates & times in PHP, how to change time zones & various built-in date functions.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: patreon.com/programwithgio
THANK YOU!
LESSON 1.25
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
Date Formats - php.net/manual/en/datetime.format.php
Time Zones - php.net/manual/en/timezones.php
Relative Formats - php.net/manual/en/datetime.formats.php#datetime.formats.relative
CHAPTERS
00:00 - Intro
00:22 - Working with Unix timestamp
01:45 - Formatting dates
03:03 - Working with time zones
04:07 - Using mktime function to get Unix timestamp value
04:31 - Parsing dates using function strtotime
05:18 - Parsing dates using function date_parse & date_parse_from_format to get more details about date
In this PHP tutorial, you will learn how to work with dates & times in PHP, how to change time zones & various built-in date functions.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: patreon.com/programwithgio
THANK YOU!
LESSON 1.25
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
Date Formats - php.net/manual/en/datetime.format.php
Time Zones - php.net/manual/en/timezones.php
Relative Formats - php.net/manual/en/datetime.formats.php#datetime.formats.relative
CHAPTERS
00:00 - Intro
00:22 - Working with Unix timestamp
01:45 - Formatting dates
03:03 - Working with time zones
04:07 - Using mktime function to get Unix timestamp value
04:31 - Parsing dates using function strtotime
05:18 - Parsing dates using function date_parse & date_parse_from_format to get more details about date










