date() formatting

From: Date: Wed, 23 Aug 2000 20:24:52 +0000
Subject: date() formatting
Groups: php.general 
Request: Send a blank email to php-general+get-13209@lists.php.net to get a copy of this message
I have a field of type datetime. I would like to format the record so that it displays for example, 'Wed, August 23, 2000 12:40:33' I already tried doing date("D M d, Y H:i:s", $rs["date"]) but I keep getting Jan 01, 1970 00:33:20 date. There is no problem with pulling the record as it displays the MMMM-YY-DD HH:II:SS format. Is there anything I am missing or doing wrong? Thanks. O.J. Alcaraz Abaris Technologies Voice: (858) 550-0567 x118 Fax: (858) 550-0564

« previous php.general (#13209) next »