Menu
So I built a Flash blog that run on XML/PHP/MySql…
I’m building the RSS feed for the blog and everything is working great except I can’t seem to convert my date information into the RSS standard. I know I could do this and add another field to my database but there are other issues.
[code]
$tm=time(); // time stamp of the present time
$tm=date(“D, d M Y H:i:s”,$tm); // generating the format
$tm=$tm. ” GMT”; // added GMT but you can add your format
I’d like to convert a date in format: 2007-01-02 9:21pm
into the RSS standard: Sat, 07 Sep 2002 00:00:01 GMT
Suggestions?
Thanks,
Ryan