---
id: "timespan"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["datetime"]
langs: ["common"]
quality: 28
url: "http://registry.apicrafter.io/datatype/timespan"
---

# Timespan (`timespan`)

The TimeSpan structure represents a length of time (duration of time or elapsed time), and may be expressed as start/end, start/duration, or duration/end. Start, end, and duration are documented using the designated DateTime structures. Examples: start/end 2018-02-22T13:0

- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: Common to most languages (common)
- Patterns: `ru_date_period`

## Sources

- other: <https://ddialliance.org/Specification/DDI-CV/DateType_1.1.html>

## Quality

Score 28/100. Missing: regexp, examples, negative example, authoritative source link, mapping (Wikidata, Schema.org, ...), translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/timespan.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/timespan.yaml>
