BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in XML

 
 
Page 15511 of 19351

Date Constructs in the Atom Syndication Format

Blogger : BitWorking
All posts : All posts by BitWorking
Category : XML
Blogged date : 2005 Aug 17

One of the questions that has come up is why RFC 3339 style dates were chosen for the date format in Atom. The simple answer is that any date that is conformant to RFC 3339 is also conformant to XML Schema, ISO 8601, and W3C Datetimes.

The slightly longer answer is that all the other schemas are more complex than RFC 3339. In particular the daddy of them all, ISO 8601 is the most complex. For example, all of the following are valid ISO 8601 dates:

  • 1997
  • 1997-07
  • 19970716
  • 1997-07-16 19:20+01:00
  • 1997-07-16T19:20+01:00
  • 2003-W14-2
  • 2003W142
  • 12:30:01
  • 19

Care to guess what that last one represents


Read comments or post a reply to : Date Constructs in the Atom Syndication Format
Page 15511 of 19351

Newest posts
 

    Email TopXML