|
 |
beginning_php thread: date format
Message #1 by "Ika" <ika_smile_jkt@y...> on Wed, 26 Feb 2003 07:24:12
|
|
how do we echo a date format like 3 March 2002 ? the date in db is
datetime type.
Message #2 by "Nikolai Devereaux" <yomama@u...> on Wed, 26 Feb 2003 09:32:22 -0800
|
|
> how do we echo a date format like 3 March 2002 ? the date in db is
> datetime type.
What kind of database? MySQL? If so, do it in the SQL query:
SELECT DATE_FORMAT(datetime_field, '%e %M %Y') FROM table
Read this recent (2 weeks ago) thread for more info:
http://p2p.wrox.com/archive/beginning_php/2003-02/40.asp
Take care,
Nik
Message #3 by "Ika" <ika_smile_jkt@y...> on Fri, 28 Feb 2003 03:39:40
|
|
|
 |