JamesGMills
Programmer
So the standard date/time format for RSS feeds is
Mon, 23 Mar 2009 17:32:59 +0000
Whatever that is called...
So its easy enough to make that format to make an RSS feed/item but what about when reading them in?
I thought this would work:
INFO: $value['created_at'] = Mon, 23 Mar 2009 17:32:59 +0000
$myDate = strtotime($value['created_at']);
echo date('Y-m-d H:i:s', $myDate);
But I get 1970-01-01 00:00:00
I am sure I used to use this method?
------------------------
Mon, 23 Mar 2009 17:32:59 +0000
Whatever that is called...
So its easy enough to make that format to make an RSS feed/item but what about when reading them in?
I thought this would work:
INFO: $value['created_at'] = Mon, 23 Mar 2009 17:32:59 +0000
$myDate = strtotime($value['created_at']);
echo date('Y-m-d H:i:s', $myDate);
But I get 1970-01-01 00:00:00
I am sure I used to use this method?
------------------------