in reply to Re: Converting timestamp to RSS pubDate
in thread Converting timestamp to RSS pubDate
$http_date = time2str( str2time("$timestamp", "-0600") );
and...
$http_date = time2str($timestamp);
and... $http_date = parse_date($timestamp); among other things. All return dates that vary from 1969 to yesterday. I don't get it. I look at the timestamp in the database and it is set to the correct time.
I just need to go from this:
2008-11-03 19:03:44
to this:
Mon, 03 Nov 2008 20:15:00 EST
|
|---|