brothercake
02-20-2005, 04:37 AM
I've got a string which is a pattern for the date() function:
$date_format = 'l jS F Y';
And I want to reformat any date which is already stored in RFC822 format, using that pattern (or whatever pattern it is).
Does that make sense? Basically, how do I get from any date formatted like this:
Sat, Feb 12 2005 07:12:02 GMT
To the same date formatted with a different pattern ...?
$date_format = 'l jS F Y';
And I want to reformat any date which is already stored in RFC822 format, using that pattern (or whatever pattern it is).
Does that make sense? Basically, how do I get from any date formatted like this:
Sat, Feb 12 2005 07:12:02 GMT
To the same date formatted with a different pattern ...?