now() to string?
Posted: Sun Apr 16, 2006 9:37 am
Hi there, I have the following:
2006-04-16 11:38:36
(produced from the now() function)
What I want to be able to do is convert that to user friendly information e.g. 11.38 Sunday 16th April, is there an easy way to do this short of ripping the string apart and writing repetetive if statements to find out what each peice is, eg. 04 = "April" etc..
The data is already ammassed in a database and so changing how it is stored is not an option, hence i need to manipulate it with PHP.
Thanks,, Tom
2006-04-16 11:38:36
(produced from the now() function)
What I want to be able to do is convert that to user friendly information e.g. 11.38 Sunday 16th April, is there an easy way to do this short of ripping the string apart and writing repetetive if statements to find out what each peice is, eg. 04 = "April" etc..
The data is already ammassed in a database and so changing how it is stored is not an option, hence i need to manipulate it with PHP.
Thanks,, Tom