Date range
ID date_range
DatatypeNot PIIDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Period between two calendar dates written as one value: the dates joined by a dash, a slash or a word (al, a, au, bis, to, until), as in 5-4-02 al 27-5-02, 22-1-02/27-2-02, 01.03.2020 - 31.03.2020 or the ISO 8601 interval 2020-01-01/2020-03-31. Field data, schedules and registers give the period that a measurement, a harvest cut, a contract or an exhibition covers this way. Two years only are year_range, two times of a day timerange.
- Parent datatype
- Timespan
timespan - Categories
- Date and time
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 70/100 · missing: regexp, mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (0 by field name, 1 by value)
daterangevaluedata, common/dateandtime.yaml
- Supported by tools
- metacrafter
Examples
| Value | Description |
|---|---|
| 5-4-02 al 27-5-02 | growth period between two alfalfa cuts, INTA Rafaela cultivar network (AquaCrop data, UNR) |
| 22-1-02/27-2-02 | the same, slash form |
| 2020-01-01/2020-03-31 | ISO 8601 time interval |
| 01.03.2020 - 31.03.2020 | |
| 2019-2020 invalid | two years: year_range |
| 08:00-22:00 invalid | two times of day: timerange |
Translations
| Language | Name | Description |
|---|---|---|
| Spanish | Rango de fechas | |
| Russian | Диапазон дат |
Sources
- wikipedia: ISO 8601 (en.wikipedia.org)
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/date_range - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/date_range.yamlon GitHub