Using client time to calculate timezone

Posted by Mike TK on Stack Overflow See other posts from Stack Overflow or by Mike TK
Published on 2010-05-14T05:52:13Z Indexed on 2010/05/14 5:54 UTC
Read the original article Hit count: 201

Filed under:
|
|
|

Hi Folks,

Instead of asking a client timezone in registration form (to correctly format datetime, all server dates in UTC) I thought about fetching a time from client computer and calculating time offset between client and server.

Anyone tried this? How often clients have something insane on their system clocks?

Cheers!

© Stack Overflow or respective owner

Related posts about clock

Related posts about timezone