Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPFreaks.com:
Working with dates in PHP
Aug 20, 2009 @ 12:38:51

On PHPFreaks.com today there's a new tutorial looking at working with dates and times in PHP. This includes timezone support and date manipulation.

There are many topics on the forums that go again, topics many people often are having trouble with. One of these problem areas are how to handle dates, convert them to a different format, timezone issues, etc. This tutorial will attempt to address many of the commonest problems related to date and time issues.

Besides looking at some of the common date/time issues that developers might face, they also touch briefly on storing dates in a database and offer some recommendations as to a few best practices to help keep things straight.

tagged: date time tutorial database

Link: