Display date/time in user’s locale format and time offset

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.

17 Answers

Leave a Comment