|
Posted by ZeldorBlat on 07/07/07 15:58
On Jul 6, 7:25 pm, newbie <mitbb...@yahoo.com> wrote:
> Hi,
>
> I wonder if it's possible to detect a user (the browser's) timezone
> when he/she access my php file? I saw ppl suggesting using javascript
> to collect that information. But I wonder if it's possible to do it
> without the headache of javascript.
>
> Thanks,
>
> <?php
> // (1) here I somehow get his/her timezone
>
> // (2) here fill his/her login timestamp into database----
> apparently, this timestamp should be converted to a unified time
> zone.
> ?>
If you're converting the time to a "unified time zone" why do you care
what timezone they're in? Why would you be recording the time from
the client in your database?
Navigation:
[Reply to this message]
|