![]() Join Up! 96815 members and counting! |
|
|||
php-db | 2001041
Date: 04/12/01
At 10:12 PM 4/11/01 +0000, Richard Crawford wrote:
I'm not familiar at all with MySQL nor its date_format() function, but
example:
select to_char(date_field,'DD-MON-YYYY HH24:MI:SS')
output:
26-MAR-2001 18:09:59
example:
select to_char(date_field,'Day, Month DD, YYYY HH:MI AM')
output:
Monday , March 26, 2001 06:09 PM
...there's a lot you can do with this formatting to get exactly what you
- Brian
-------------------------------------
(850) 875-1500 x225
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
|