Hi,
Tuesday, April 13, 2004, 9:29:19 PM, you wrote:
n> how can get a specific time zone, not the server time.
n> example:
n> if the server time is 13:15:46 I need to output that time +5hours
n> so 18:15:46
n> because the hosting server time is not my local or other area time..
n> thanks
I have this in an auto_prepend file or you can put it before using any
of the date() functions
putenv('TZ=Australia/Brisbane');
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php