Posted by Tom on 12/07/07 19:18
On Thu, 06 Dec 2007 21:23:08 +0100, J.O. Aho wrote...
>
>lukk3tt0 wrote:
>> Des exist a way to shift the time of a server? for example my server is
>> in California but my time in Italy is shifted of 9 hours;
>> How do I shift the time (in italian time) if I have this function
>> $data =date("j/n/Y"); ???
>
>In the head of your scripts add
>
>date_default_timezone_set("Europe/Rome");
>
>Then all date/time functions after this will be using "italian" time instead
>of the "pacific" time.
>
>
Thanks for the information.
Tom
--
NewsGuy Accounts Go Jumbo!
NewsGuy Express increased from 30 to 50 GB of download capacity
http://newsguy.com/overview.htm
[Back to original message]
|