473,386 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

rss date (rfc822) format

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
2 5769
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
..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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $...
0
by: Michael B Allen | last post by:
How can I zoom in on what's going on below? $ archivemail -n ~/Maildir/.Lists.* /home/miallen/Maildir/.Lists.CIFS: I would have archived 11 of 29 message(s) in 0.1 seconds...
1
by: John Doe | last post by:
I've never used a factory and would like to get some help. The class mailbox.UnixMailbox has a defination for a factory. __init__(self, fp, factory=<class rfc822.Message>) where fp is a file...
9
by: tertius | last post by:
Hi, Is there a more pythonic way to write or do a date difference calculation? I have as input two date fields in the form 'YYYY-MM-DD' TIA Terius
2
by: Andy Fish | last post by:
Hi, I have an application with a vb6 client that talks to a java server and passes XML back and forward, and I'm wondering what's the best format to transfer date/time values between them in an...
5
by: John Smith | last post by:
Hi, I've been carefully storing my dates as ISO dates in a DB and now have to add an RSS feed to a website. Is there an easy way to convert these dates to RFC822 compliant dates ? I've had a...
3
by: clintonG | last post by:
To comply with RSS 2.0 specifications I need to get a date from a calendar control and reformat to GMT consistent with RFC 822 . I hope somebody can save me a lot of think-time and point me to a...
3
by: VUNETdotUS | last post by:
How can I parse RFC822 date format Sat, 13 Oct 2007 22:09:03 PDT to MM/ DD/YYYY? Any reference you can recommend? Thanks
3
by: janetopps | last post by:
I have a news website, with asp pages, which was on Access, and i upgraded to MySQL, i used Bullzip to transfer the data. It had about 1000 pages, which im now able to pull up on the public side. Im...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.