By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,723 Members | 1,891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,723 IT Pros & Developers. It's quick & easy.

rss date (rfc822) format

P: n/a
I need to write a rss feed and I'll need to use the rss date format
(rfc822):

Sun, 19 May 2002 15:21:36 GMT

Is there a php function that creates that, or do I have to hack it
out. There's a lot of php date/calendar functions and I'm working my way
through them...

I'm thinking it's in there, somewhere...

Jeff

Sep 21 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In message <9f******************************@earthlink.com>
Jeff <jeff@spam_me_not.comwrote:
I need to write a rss feed and I'll need to use the rss date format
(rfc822):

Sun, 19 May 2002 15:21:36 GMT
echo date('r')

See:

<http://uk.php.net/manual/en/function.date.php>
>
Is there a php function that creates that, or do I have to hack it
out. There's a lot of php date/calendar functions and I'm working my way
through them...

I'm thinking it's in there, somewhere...

Jeff

--
Kev Wells http://riscos.kevsoft.co.uk/
http://kevsoft.co.uk/ http://kevsoft.co.uk/AleQuest/
ICQ 238580561
Save England http://www.thecep.org.uk/cep_petition.shtml
Sep 21 '08 #2

P: n/a
..oO(Kevin Wells)
>In message <9f******************************@earthlink.com>
Jeff <jeff@spam_me_not.comwrote:
> I need to write a rss feed and I'll need to use the rss date format
(rfc822):

Sun, 19 May 2002 15:21:36 GMT

echo date('r')

See:

<http://uk.php.net/manual/en/function.date.php>
Also have a look at the predefined DATE_* constants for some other
special date formats.

Micha
Sep 21 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.