ISO 8601: Difference between revisions
Jump to navigation
Jump to search
dates |
Datetime interval could be written like: '''2008-09-26 20:00--22:00''' |
||
Line 1: | Line 1: | ||
[[Category:identifiers]] | [[Category:identifiers]] | ||
tango.info uses the international date and time format a defined by [[w:ISO 8601]]). This eliminates ambiguities, makes searching the site and sorting dates easier. A standard date format looks like: '''2006-05-01''' | |||
Examples for non standard local formats: | Examples for non standard local formats: | ||
Line 9: | Line 9: | ||
*1.5.2006 | *1.5.2006 | ||
Time | ==Time== | ||
Time is always written like '''21:30'''. Time ranges should be represented like '''21:30--23:45'''. | |||
==Intervals== | |||
Intervals are represented by start point and end point, seperated by "--": | |||
Examples for standard representation of time intervals | Examples for standard representation of time intervals | ||
Line 17: | Line 21: | ||
* '''2007-12-30--2008-01-02''' -> start: 2007-12-30 end: 2008-01-02 (four days) | * '''2007-12-30--2008-01-02''' -> start: 2007-12-30 end: 2008-01-02 (four days) | ||
The ISO standard recomends "/" but allows "--" as a seperator. "--" can be used in filenames, | The ISO standard recomends "/" but allows "--" as a seperator. Because "--" can be used in filenames, tango.info prefers this. | ||
Time intervals should be represented like '''21:30--23:45'''. | |||
Datetime interval could be written like: '''2008-09-26 20:00--22:00''' | |||
==links== | ==links== |
Revision as of 2008-10-24T13:14:41
tango.info uses the international date and time format a defined by w:ISO 8601). This eliminates ambiguities, makes searching the site and sorting dates 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
Time is always written like 21:30. Time ranges should be represented like 21:30--23:45.
Intervals
Intervals are represented by start point and end point, seperated by "--":
Examples for standard representation of time intervals
- 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)
The ISO standard recomends "/" but allows "--" as a seperator. Because "--" can be used in filenames, tango.info prefers this.
Time intervals should be represented like 21:30--23:45.
Datetime interval could be written like: 2008-09-26 20:00--22:00