How do I display a date/time in the user's locale format and time offset?
Posted
by kch
on Stack Overflow
See other posts from Stack Overflow
or by kch
Published on 2008-09-17T16:37:12Z
Indexed on
2010/04/26
1:03 UTC
Read the original article
Hit count: 341
JavaScript
I want the server to always serve dates in UTC in the html, and have javascript on the client site convert it to the user's local timezone.
Bonus if I can output in the user's locale date format.
© Stack Overflow or respective owner