Page 1 of 1

finding timezone

Posted: Thu May 31, 2007 8:20 am
by itsmani1
How can i find time zone of a server?
is there anyway?


thanks

Posted: Thu May 31, 2007 8:23 am
by volka
There's date_default_timezone_get for php 5.1.0+

Posted: Thu May 31, 2007 8:30 am
by itsmani1
anything for < PHP 5

Posted: Thu May 31, 2007 8:32 am
by superdezign
itsmani1 wrote:anything for < PHP 5
Probably not. Otherwise, they probably wouldn't have had a reason to add it into PHP5. :wink:

Posted: Thu May 31, 2007 8:35 am
by feyd
date() has something. Take a look.