How to Use the PHP DateTime Class Instead of the PHP Date Function
In this PHP tutorial, you learn how to use the PHP DateTme class introduced in PHP 5.2 instead of the PHP date function.
How to Start a Blog in 15 Minutes Or Less:
Let me help you publicize your blog:
Here’s the special discount link for Rob Percival’s Complete Web Developer course:
Get the source code in the Code Snippets section here:
Supported DateTime Formats:
http://php.net/manual/en/datetime.formats.php
Supported Timezones:
http://php.net/manual/en/timezones.php
Supported Interval Strings:
http://sixrevisions.com/web-development/php-dateinterval-class/
DateTime PHP Manual Entry:
http://php.net/manual/en/class.datetime.php
Training Center:
http://www.johnmorrisonline.com/training
Subscribe on YouTube:
http://youtube.com/johnmorrisonline
Subscribe on SoundCloud:
Subscribe on iTunes:
http://goo.gl/RggnXW
-~-~~-~~~-~~-~-
Please watch: “Ryan Carson: How to Get an IT Job WITHOUT a College Degree”
-~-~~-~~~-~~-~-
#php #webdev
source