Formatting a Time field

From: Date: Thu, 23 Mar 2006 23:51:48 +0000
Subject: Formatting a Time field
Groups: php.general 
Request: Send a blank email to php-general+get-232480@lists.php.net to get a copy of this message
I have a field, Start_Time, in a MySQL DB. Since it is not a TimeStamp, I believe I cannot use date(), correct? I would like to format 09:00:00 to 9:00 AM. If I convert the 09:00:00 with the strtotime(), I get a couple of extra minutes added. Suggestions are welcomed.... Todd

« previous php.general (#232480) next »