//formats current date and time to datetime format
//for example: 2004-09-22 21:21:29
$mysqlDatetime = date(“Y-m-d G:i:s”);
//formats current date and time to datetime format
//for example: 2004-09-22 21:21:29
$mysqlDatetime = date(“Y-m-d G:i:s”);