Convert a timestamp to RFC822??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I get my timestamp from the db in this format (I don't have control over this):

2004-05-14 13:24:48

I need to convert it to RFC822 to make it a valid RSS pubDate field like this:

Wed, 02 Oct 2002 13:00:00 GMT

How can I do that? I'm tearing my hair out here (what's left)...

:)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux