Re: PHP time zone

From: Date: Tue, 13 Apr 2004 12:36:54 +0000
Subject: Re: PHP time zone
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-183221@lists.php.net to get a copy of this message
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

« previous php.general (#183221) next »