'g' is 12-hour format, 'H' is 24 hour (with leading 0) date("Y-m-d H:i:s",$date);
"Sebastian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > $date = date("Y-m-d g:i:s", $date); > echo $date; > > cheers, > - Sebastian > > -----Original Message----- > From: Tim Haskins [mailto:[EMAIL PROTECTED] > > > How does one retrieve the date and time off a server in the following > > format? > > > > 2003-04-03 11:11:38 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php