DateTime Confusion

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: DateTime Confusion

Post by Weirdan »

PHPHorizons wrote:LOL That's what I get for relying on the manual :P. Is that stated anywhere on the PHP site; because, I have not seen anything of the sort. Nor does the DateTime manual pages say there are date, timezone_type, and timezone properties (as far as I know)
No, this clearly is not an intended behavior. Seems to be a bug to me.

Edit: Ha, they consider this an unimplemented feature request: http://bugs.php.net/bug.php?id=49382
User avatar
PHPHorizons
Forum Contributor
Posts: 175
Joined: Mon Sep 14, 2009 11:38 pm

Re: DateTime Confusion

Post by PHPHorizons »

That is funny! I can't say that I agree with the feature though...
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: DateTime Confusion

Post by superdezign »

Microsoft: Turning bugs into features since 1985.
Post Reply