Php date formatting
Posted: Wed Dec 03, 2008 1:18 am
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.
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.