|
I am having issues outoutting dates in the correct format for RSS feeds, they're simply not parsing the dates the way I would like, and a format which the rss readers support
Currently the dates are formatted in 2010-10-05
I need to have the dates listed in this format Wed, 13 Oct 2010 05:23:50 +0000
Is there a PHP code that can convert the former into the latter, the database has the former listed.
The current code used to pull the dates is
<?php echo $row_rss['post_date']; ?>
WHich grabs the date from the post_date field and outputs it.
I don't really know RSS, just know a bit of html so if you could rewrite the above code with the required data format (DATE_RFC822)
That would be a great help..
Last edited by TurboLizard; 10-21-2010 at 03:49 PM..
|