Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can have whatever timezone you want if you store/transmit things as UTC. The final client device javascript should be the point at which the conversion to local time occurs, because the browser is best aware of the correct timezone.

Everything on the server is just done in terms of UTC. I actually cannot think of a reason I would want to process a timestamp in terms of local time on the server.



Well, one example is a notification that fires on the client’s timezone rather than UTC.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: