Date and Time in PHP | PHP Tutorial for Beginners | Ep 8
Coding Reflections
This video explains how to handle date and time in PHP - how to convert date strings to various formats, changing timezones, getting the current timestamp, finding the difference between two dates, etc.
0:00 Intro 1:02 Getting the current date and time 4:23 Setting timezones 6:49 Handling date strings 10:15 Pre-defined date constants 12:17 the DateTime class 13:47 Some tricky date strings 18:23 Difference between two dates 21:37 Outro
Website: https://codingreflections.com
Server providers: Linode: https://codingreflections.com/go/linode/ DigitalOcean: https://codingreflections.com/go/digitalocean/
Disclaimer:
This video is based on my personal experiences and knowledge. There is no guarantee that the information shared is 100% accurate.
Disclosure:
This video and its description may contain affiliate links, which can earn us commission if someone purchases products using those links. ... https://www.youtube.com/watch?v=ZcwHw92PAw0
74780335 Bytes