---
id: "unixtime_ms"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["datetime"]
langs: ["common"]
quality: 70
url: "https://registry.apicrafter.io/datatype/unixtime_ms"
---

# Unix time in milliseconds (`unixtime_ms`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

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: `datetime`
- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^-?\d{11,13}$
```

## Examples

- `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

- wikipedia: <https://en.wikipedia.org/wiki/Unix_time>

## Quality

Score 70/100. Missing: negative example, mapping (Wikidata, Schema.org, ...), translation, detector coverage.

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