12-11-2012, 01:32 PM
|
PM User |
#3
|
|
Supreme Master coder!
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
|
Quote:
I have my date stored in my MySql dbase as a datetime
in this format: 2012-12-11 00:00:00
I want to output it as m/d/y format.
So I would like: 12/11/12
|
It'd better to use the function date_format() in mysql itself.
__________________
Quote:
|
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
|
|
|
|