[RESOLVED] Convert date from one format to another
Posted: Wed Sep 20, 2006 9:36 am
Hi,
I have a number of dates stored in my mySQL database which are all of the format (Y-m-d).
eg: 2006-06-28
However when I show them on some PHP pages I wish to show them in the format (' jS F, Y ')
eg: 28th June, 2006
How would I go about doing this???
Thanks!
Rehan
[Edit: nevermind... got this working using strtodate()]
I have a number of dates stored in my mySQL database which are all of the format (Y-m-d).
eg: 2006-06-28
However when I show them on some PHP pages I wish to show them in the format (' jS F, Y ')
eg: 28th June, 2006
How would I go about doing this???
Thanks!
Rehan
[Edit: nevermind... got this working using strtodate()]