summaryrefslogtreecommitdiff
path: root/src/node_modules/chance/docs/time/timestamp.md
blob: 400a2ee514a162fa3dbdbd9c1dd2ef86aa23a528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# timestamp

```js
// usage
chance.timestamp()
```

Generate a random timestamp. This is a standard Unix time, so a random number of
seconds since January 1, 1970.

```js
chance.timestamp();
=> 576556683
```