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?
strtotime("dateString");
gets it into the native PHP date format, then you can work with the date()
function to get it printed out how you'd like it.