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

LaughingMeme.com:
Looking at PHP5’s DateTime and DateTimeZone
Oct 08, 2007 @ 16:14:00

As Martynas Jusevicius points out today, there's a great little look at the new DateTime functionality that's included with PHP5 to make working with dates even simpler.

There is something fundamentally brash, brazen even, to releasing a class named DateTime. [...] I'm going to bump my way through learning how to use this new DateTime lib, bringing all my preconceptions about how it should work. The odds of this being interesting to you is probably nil unless you're in one or two very small cliques, feel free to read on, or browse away.

The article looks at quite a bit of the functionality in the extension - everything from the simple formatting of dates to more complex date object manipulation. A definite read for anyone looking to harness the power of this new functionality.

tagged: php5 datetime datetimezone extension functionality php5 datetime datetimezone extension functionality

Link:


Trending Topics: