Formatting a Time field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux