0

What is the best approach to manage timezones in a web application? For example A is in the US and he posted something @ 10:00AM then B from other country sees it, when he look at the time it was posted it should be 10:00AM US Time converted into his country's local time. Sorry this is my first time creating an app that will be used internationally so I dont have experience doing something like this.

super-user
  • 1,017
  • 4
  • 17
  • 41
  • Use UTC time always and convert it in client side as local time for viewing/display purposes. – jtabuloc Apr 08 '16 at 04:21
  • @JrTabuloc How do I know if my server is saving time in UTC format? Im using MSSQL Server 2008 r2. – super-user Apr 08 '16 at 04:26
  • @JrTabuloc also, is it possible to convert the UTC time to the client's local time without getting their timezone upon registration? – super-user Apr 08 '16 at 04:27
  • 1
    Lots of questions on this already. Read the best practices docs, the timezone and dst tag wikis, and other questions tagged [tag:timezone]. If you have *specific* questions that haven't been asked before, then please do ask those. Thanks. – Matt Johnson-Pint Apr 08 '16 at 04:33

0 Answers0