Wednesday, April 13, 2011

How to get different timezones' current time in PHP?

Unfortunately I'm not using PHP 5. On the documentation of the date function it has a timezone section which lets you specify the difference from the GMT tome. How can you use that to get the current/local time in a specified timezone, and does it with with daylights savings?

From stackoverflow

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.