Save metadata as a timestamp, display as a “pretty” date
You don’t have to store it as a timestamp to order by date, yyyy/mm/dd will work just fine. As for converting the format: $date=”2011/09/19″; $date = strtotime( $date ); echo date( ‘F j, Y’, $date ); see php’s strtotime and date EDIT- oh, maybe I misunderstood, thought you said timestamp, not date. anyway, the conversion … Read more