What does +0000 mean in the context of a date returned by the twitter API?

人走茶凉 提交于 2019-12-28 13:49:12

问题


This:

"Tue Jan 12 21:33:28 +0000 2010"

was returned from Twitter's API. The rest are fairly obvious, but what does +0000 refer to? Is it some type of denotation of a timezone?


回答1:


This does denote timezone. It is the offset from UTC time.




回答2:


+0000 is an HHMM offset from UTC/GMT, and in this case the time you're getting back is exactly UTC.

Note that this doesn't exactly map to a "geographical" time zone, since daylight savings time may change the offset. For example, Sweden is +0100 in the winter and +0200 in summer.



来源:https://stackoverflow.com/questions/12305826/what-does-0000-mean-in-the-context-of-a-date-returned-by-the-twitter-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!