We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8ec3a commit 296c35aCopy full SHA for 296c35a
docs/display/unix-timestamp.md
@@ -6,7 +6,7 @@ title: Unix Timestamp
6
This returns the Unix timestamp (the number of seconds since the Unix Epoch) of the Day.js object.
7
8
```js
9
-dayjs('2019-01-25').unix() // 1548381600
+dayjs('2019-01-25').unix() // 1548381600 (Returns Unix timestamp based on local timezone.)
10
```
11
12
This value is floored to the nearest second, and does not include a milliseconds component.
0 commit comments