Return to Snippet

Revision: 29142
at July 22, 2010 23:41 by koko


Initial Code
$var = date( 'Y-m-d H:i:s', time());

Initial URL

                                

Initial Description
The current time, converted from UNIX timestamp to use in MySQL DATETIME

Initial Title
Convert UNIX timestamp to MySQL DATETIME

Initial Tags
mysql, php, unix

Initial Language
PHP