Datatypes › Date and time

ISO 8601 repeating interval

ID iso8601_repeating_interval

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).

Repeating time interval of ISO 8601: R, the number of repetitions if they are limited, then the interval as start and duration, start and end, or a duration alone, parts separated by slashes (R/2015-01-02/P2W every two weeks from 2 January 2015, R5/2008-03-01T13:00:00Z/P1Y2M10DT2H30M, R/P1Y). Waste collection schedules, recurring events and DCAT accrual periodicity write it; a single duration is iso8601duration, a frequency in words periodicity.

Categories
Date and time
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
90/100 · missing: mapping (Wikidata, Schema.org, ...)
Metacrafter rules
1 rule (0 by field name, 1 by value)
Supported by tools
metacrafter

Regular expression

^R\d*/(?:[0-9T:.+\-Z]{4,}/)?(?:P[0-9YMWDTHS.]+|[0-9T:.+\-Z]{4,})$

Python re syntax.

Test a value

Examples

ValueDescription
R/2015-01-02/P2W fortnightly rubbish collection, Greater Geelong waste collection areas
R5/2008-03-01T13:00:00Z/P1Y2M10DT2H30M ISO 8601 example
R/P1Y
P2W invalid a duration, iso8601duration

Translations

LanguageNameDescription
RussianПовторяющийся интервал ISO 8601

Sources

Use this record