You are here: Re: shift time... « All PHP « IT news, forums, messages
Re: shift time...

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация