473,406 Members | 2,439 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,406 software developers and data experts.

RFC822 DateTime Format

Hello,

DateTime.Parse works great with ISO 8601 but it does not parse all RFC 822
formats, for example, it will parse

Mon, 02 Feb 2004 12:35:25 GMT

but it won't parse

Mon, 02 Feb 2004 12:35:25 +0900
although it will parse the ISO 8601 format -

2004-01-28T19:27:56+09:00
Is there a way, using the framework, I can get it to parse the RFC822 style
date time format?

I have found the DateTimeFormatInfo.RFC1123Pattern property, but I can only
see how to output dates in this format, rather than parse them.
Regards,

Gary Brewer
Jul 21 '05 #1
0 1792

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

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...
4
by: Nemesis | last post by:
Hi all, I found that the function parsedate_tz of the rfc822 module has a bug (or at least I think so). I found a usenet article (message-id: <2714d.q75200@myg.winews.net>) that has this Date...
1
by: praba kar | last post by:
Dear All, I am new to python world. I have pasted my code which I used it to build rfc822 format mails for webbased mailing system task(which is like to yahoo.com web interface). Now I am...
15
by: Fritz Switzer | last post by:
I'd like to have a string assigned the value of a DateTime.AddMinutes(amount) so that the string is formatted in "HH:MM" format. For example: DateTime.Now.AddMinutes(30) returns "00:30" ...
26
by: Reny J Joseph Thuthikattu | last post by:
Hi, I have a variabe in the format of 'DD-MON-YYYY HH:MI AM' .I want to add a miniute to it.How can i do that? by manipulation i want to make '01-JUNE-2004 11:59 PM' to '02-JUNE-2004 12:00 AM'...
0
by: Gary Brewer | last post by:
Hello, DateTime.Parse works great with ISO 8601 but it does not parse all RFC 822 formats, for example, it will parse Mon, 02 Feb 2004 12:35:25 GMT but it won't parse Mon, 02 Feb 2004...
0
by: Nikolaus Schulz | last post by:
Hi, while playing with the rfc822 module and imaplib, I've found the following weird behaviour. Quickstart: rfc822.Message(fp) instantiates a rfc822.Message object from a file object fp. The...
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
2
by: Jeff | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.