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

# Digital timestamp (Unix time, Epoch time, Posix time) (`unixtime`)

Digital timestamp defined as Unix Time. It is a system for describing a point in time. It is the number of seconds that have elapsed since the Unix epoch, excluding leap seconds.

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

## Detection

Regular expression (Python `re`):

```
\d{1,10}
```

## Examples

- `1652190194` — 2022-05-10T13:43:14+00:00
- `915148800` — 1998-12-31T23:59:60.25

## Mappings

- autotype: `unixback`, `unixtime`
- fta: `EPOCH.MILLISECONDS`, `EPOCH.SECONDS`

## Metacrafter rules

2 rules: 2 match the field name, 0 match values.

- `timestampknown` (field, `common/dateandtime.yaml`)
- `timestampknownpat` (field, `common/dateandtime.yaml`)

## Supported by tools

- `autotype`
- `fta`
- `metacrafter`

## Sources

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

## Quality

Score 80/100. Missing: anchored regexp, negative example, translation.

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