Reply to Re: how to determine client's local time ?

Your name:

Reply:


Posted by Wayne on 07/08/05 23:44

On 6 Jul 2005 14:30:34 -0700, "siliconmike" <siliconmike@yahoo.com>
wrote:

>I'm just lost here.. Is there a function to determine current time on
>the client's computer clock ?

You can use Javascript on the client to set a cookie with their
current timezone offset and then read that timezone offset in PHP and
adjust all your times appropriately.

I do that exact thing in a number of my sites so all the dates/times
are shown in the users local timezone.

[Back to original 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

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