You are here: Re: detecting user's timezone « PHP Programming Language « IT news, forums, messages
Re: detecting user's timezone

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]


Удаленная работа для программистов  •  Как заработать на 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

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