13 Apr 2010

Converting dates between MySql and PHP

$mysqldate = date( 'Y-m-d H:i:s', $phpdate );
$phpdate = strtotime( $mysqldate );

No comments:

Post a Comment