# unixMilliseconds

Industry: Core

```ts
const unixMilliseconds: RegExp = /^\d{13}$/;
```

RegExp matching a Unix timestamp in milliseconds: exactly 13 digits.

## Examples

```ts
import { unixMilliseconds } from "@northguild/gmt";
```

```ts
unixMilliseconds.test("1710511800123") // true
unixMilliseconds.test("0000000000000") // true (epoch)
unixMilliseconds.test("999999999999") // false (unpadded, 12 digits)
unixMilliseconds.test("17105118001") // false (11 digits)
```

## Source

[regex/unix.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/regex/unix.ts)
