In this PHP tutorial, you learn how to use the PHP DateTime class introduced in PHP 5.2 instead of the PHP date function. Watch the tutorial below:
Links mentioned in the video:
- How to Start a Blog in Less Than 15 Minutes
- Let me help publicize your blog
- My web developer resources page with more code snippets.
- Supported DateTime Formats
- Supported Timezones
- Supported Interval Strings
- DateTime PHP Manual Entry
If you get value from this code snippet, please consider sharing it with another developer or group who could benefit from it.