2

This question already has an answer here:

Does Stack Exchange use UTC time to store when a question, answer or comment is created, or is there any other approach to handle it to display localized time to the user?

marked as duplicate by random discussion Dec 2 '16 at 14:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Based on this the answer is yes. – rene Nov 28 '16 at 8:40
  • Best practice is to always store date/time variables in UTC, so I'm fairly certain the answer is yes. – Glorfindel Nov 28 '16 at 8:42
4

Per What is an SE "day"? When does each day start?, the SE day is the UTC day. This applies to everything that's date-stamped on SE -- posts, comments, visits (to count toward the Fanatic badge), daily limits on reviews, and so on.

Localizing the dates isn't as easy as it sounds. What should SE use to determine your timezone, your IP address? That will be wrong if you use certain proxies. A user setting? That's additional data that needs to be collected and managed (including with a UI), and requests for user preferences have not fared well in the past.

However, SE does mitigate this somewhat. For recent times, the timestamp is presented as, for example, "17 minutes ago" or "3 hours ago" or even "yesterday". For non-recent events, I would argue that a difference of a few hours -- what you might gain through localization -- isn't that important. (If it was a week ago, does it really matter if it was 7 days 2 hours or 6 days 20 hours ago?)

Not the answer you're looking for? Browse other questions tagged .