Hacker News new | ask | show | jobs
by PythonDeveloper 5115 days ago
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().