RE: [PHP] Convert 24hr to 12hr

From: Date: Wed, 06 Feb 2002 09:50:20 +0000
Subject: RE: [PHP] Convert 24hr to 12hr
Groups: php.general 
Request: Send a blank email to php-general+get-83687@lists.php.net to get a copy of this message
RTFM http://www.mysql.com/doc/D/a/Date_and_time_functions.html select date_format(<DATEFIELD>,"%r") from <TABLE> or select time_format(<TIMEFIELD>,"%r") from <TABLE> Look in the manual for more options... MUCH MORE!!!! :) Anyone know the difference between %h: 01-12 hour notation and %I: 01-12 hour notation ? Kind regards, Jerry > -----Original Message----- > From: Gary [mailto:garyb10@earthlink.net] > Sent: Wednesday, February 06, 2002 3:44 AM > To: php-general@lists.php.net > Subject: [PHP] Convert 24hr to 12hr > > > Hello All, > Can someone please RTFM me so I can convert MySQL 24 hour > time to 12 > hour time. > TIA > gary > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > The information contained in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, production, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. The content of the email is not legally binding unless confirmed by letter bearing two authorized signatures.

« previous php.general (#83687) next »