ISO 8601: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 16: Line 16:
* '''2007-06-25--29''' -> start: 2007-06-25 end: 2007-06-29 (five days)
* '''2007-06-25--29''' -> start: 2007-06-25 end: 2007-06-29 (five days)
* '''2007-06-25--07-01''' -> start: 2007-06-25 end: 2007-07-01 (seven days)
* '''2007-06-25--07-01''' -> start: 2007-06-25 end: 2007-07-01 (seven days)
* '''2007-12-30--2008-01-02''' -> start: 2007-12-30 end: 2008-01-02 (four days)


Instead of "/" the standard also allows "--", tango.info will consider switching to this.
Instead of "/" the standard also allows "--", tango.info will consider switching to this.

Revision as of 2007-06-23T20:30:50

This wiki and tango.info in general uses the international date format (w:ISO 8601). This eliminates ambiguities, makes searching the site and sorting events easier. A standard date format looks like: 2006-05-01

Examples for non standard local formats:

  • 01/05/06 (does it mean 2001-05-06 or 2006-01-05 or 2006-05-01?)
  • 1.5.06
  • 1/5/2006
  • 5/1/2006
  • 1.5.2006

Time intervalls are represented by start point and end point. Range formats, e.g. for events that take place on several days are constructed with "/"

examples

  • 2007-06-25--26 -> start: 2007-06-25 end 2007-06-26 (two days)
  • 2007-06-25--29 -> start: 2007-06-25 end: 2007-06-29 (five days)
  • 2007-06-25--07-01 -> start: 2007-06-25 end: 2007-07-01 (seven days)
  • 2007-12-30--2008-01-02 -> start: 2007-12-30 end: 2008-01-02 (four days)

Instead of "/" the standard also allows "--", tango.info will consider switching to this.

links