Parsing Twitter API Datestamp
Posted
by Chris Armstrong
on Stack Overflow
See other posts from Stack Overflow
or by Chris Armstrong
Published on 2010-04-09T22:39:49Z
Indexed on
2010/04/09
22:43 UTC
Read the original article
Hit count: 607
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:
Fri Apr 09 12:53:54 +0000 2010
What's the simplest way (with PHP or Javascript) to format this like 09-04-2010?
© Stack Overflow or respective owner