Datatypes › Date and time

Unix time in milliseconds

ID unixtime_ms

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

A point in time written as the number of milliseconds since the Unix epoch (1970-01-01T00:00:00Z), negative before it. JavaScript Date values, ArcGIS REST and GeoJSON exports and many web APIs write dates this way, usually as 13-digit integers.

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

Regular expression

^-?\d{11,13}$

Python re syntax.

Test a value

Examples

ValueDescription
1689019752000 2023-07-10T20:09:12+00:00
1219788000000 2008-08-26T22:00:00+00:00
-1019869200000 1937-09-06T23:00:00+00:00

Sources

Use this record