Return to Snippet

Revision: 6106
at April 28, 2008 16:24 by TimFletcher

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

Initial URL

Initial Description
Gets the present time and date in PHP and formats it for input into a MYSQL database DATETIME field

Initial Title
PHP version of MYSQL NOW()

Initial Tags

Initial Language