Date and Time in PHP | PHP Tutorial for Beginners | Ep 8
HTML-код
- Опубликовано: 14 июн 2024
- 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: www.coralnodes.com
---------------------------------------
Server providers:
Linode: www.coralnodes.com/go/linode/
DigitalOcean: www.coralnodes.com/go/digital...
-------------------------------------------------------------
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. - Наука