Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • 5
    Usually you'd have the server time zone set to UTC and handle the conversion from UTC to Local (and vice versa) on the client, as the client is the only place you can be sure of the information. Alternatively, have an application setting for the user to select their time zone, and use that as the conversion factor. Either way, storing UTC on the server is the least long-term headache means of handling varying timezones. Commented Jul 3, 2017 at 23:24