Page 1 of 1

Php date formatting

Posted: Wed Dec 03, 2008 1:18 am
by Weasel5-12
Hi,

I've got my db set up and functioning fully. I have a date field in which the format is yyyy-mm-dd

I'm able to take my dd-mm-yyyy formatted input and convert it to the yyyy-mm-dd format.
But i have a problem with converting the input from the database (yyyy-mm-dd) to the output format i'd like it to have (dd-mm-yyyy)

Can someone please help?

All help is much appreciated.

Re: Php date formatting

Posted: Wed Dec 03, 2008 1:44 am
by requinix
Try using DATE_FORMAT.