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.
Navigation:
[Reply to this message]
|