ℹ Learn how to compare dates, calculate the difference between dates, format dates, get the date in different timezones and much more...
🆓 Join garyclarke.tech for course DISCOUNTS and a FREE Docker + PHP course (worth $49)
https://www.garyclarke.tech
👇Follow me on Social Media:
Twitter: / garyclarketech
Linkedin: / garyclarketech
Chapters:
0:00 Introduction / overview
0:42 Setup / composer requirements
1:17 DateTime class
4:08 Comparing dates
6:10 Formatting dates
7:05 Calculating the difference (interval) between two dates
12:39 DateInterval class
17:25 DateTimeImmutable
19:13 Timezones