Datatypes › Date and time

SDMX reporting time period

ID sdmx_reporting_period

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

Reporting period in SDMX statistical data and metadata, written as a four-digit year, a hyphen, a period letter and a number: A1 for the year, S1-S2 for half-years, T1-T3 for four-month trimesters, Q1-Q4 for quarters, M01-M12 for months, W01-W53 for weeks and D001-D366 for days, with an optional time zone (Z, +hh:mm or -hh:mm). Periods count from the start of the reporting year, 1 January unless a reporting year start day is given, and the year is the year in which the reporting year begins. The SDMX time period (TIME_PERIOD) may also hold Gregorian values such as 2024, 2024-01 or 2024-01-15, date-times and time ranges; those are the datatypes year, yearmonth, date and datetime.

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

Regular expression

^\d{4}-(?:A1|S[12]|T[1-3]|Q[1-4]|M(?:0[1-9]|1[0-2])|W(?:0[1-9]|[1-4]\d|5[0-3])|D(?:00[1-9]|0[1-9]\d|[12]\d{2}|3[0-5]\d|36[0-6]))(?:Z|[+-](?:14:00|(?:0\d|1[0-3]):[0-5]\d))?$

Python re syntax.

Test a value

Examples

ValueDescription
2000-A1 Reporting year
2000-S1 First semester
2000-T1 First trimester
2000-Q1 First quarter
2000-M01 January
2000-W01 First week
2000-D001 First day
2000-Q5 invalid A year has four quarters
2000-M13 invalid A year has twelve months
2000-01 invalid Gregorian month: the datatype yearmonth

Sources

Use this record