Categories
Wordpress

mysql date to php

$date = strtotime( '2009-12-02');
$php_date = date( 'Y-m-d H:i:s', $date );

Leave a Reply