Parsing Twitter API Datestamp

后端 未结 6 778
后悔当初
后悔当初 2020-12-04 22:33

I\'m using the twitter API to return a list of status updates and the times they were created. It\'s returning the creation date in the following format:

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 23:01

    Here is date format for Twitter API:

    Sat Jan 19 20:38:06 +0000 2013
    "EEE MMM dd HH:mm:ss Z yyyy" 
    

提交回复
热议问题