In Python:
>>> import datetime
>>> datetime.datetime.fromtimestamp(1329429600)
datetime.datetime(2012, 2, 17, 0, 0)
In JavaScript:
>>> (new Date(1329429600000)).toUTCString()
"Thu, 16 Feb 2012 22:00:00 GMT"
If what I’m looking for is UTC\GMT, which of the two is correct?
How can I fix the other one?
you should use this: