Skip to content

Commit 296c35a

Browse files
fix: Update unix-timestamp.md (#134)
* Update unix-timestamp.md * Update unix-timestamp.md * Update unix-timestamp.md * Update unix-timestamp.md
1 parent cc8ec3a commit 296c35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/display/unix-timestamp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Unix Timestamp
66
This returns the Unix timestamp (the number of seconds since the Unix Epoch) of the Day.js object.
77

88
```js
9-
dayjs('2019-01-25').unix() // 1548381600
9+
dayjs('2019-01-25').unix() // 1548381600 (Returns Unix timestamp based on local timezone.)
1010
```
1111

1212
This value is floored to the nearest second, and does not include a milliseconds component.

0 commit comments

Comments
 (0)