News for hackers. Stuff that matters.
Re:Ask HN: What timezone should I use? by PythonDeveloper on Friday June 15, 2012 @02:27AM (#4115315)
You want to use UTC and convert it to your local timezone using functionality provided in most of todays languages.

For example, in PHP, you could use gmdate('Y-m-d H:i:s') to get the current time/date in UTC.

In Python, you could use datetime.datetime.utcnow().

There are no comments on this comment yet.