From ae55014a6df39d5924dd8aaa5aafd5897f0830f6 Mon Sep 17 00:00:00 2001 From: Tron Natthakorn Date: Thu, 6 Mar 2025 23:51:08 +0700 Subject: [PATCH] Update unix-timestamp.md --- docs/display/unix-timestamp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/display/unix-timestamp.md b/docs/display/unix-timestamp.md index a89a81de5..8b53f5cdb 100644 --- a/docs/display/unix-timestamp.md +++ b/docs/display/unix-timestamp.md @@ -6,7 +6,7 @@ title: Unix Timestamp This returns the Unix timestamp (the number of seconds since the Unix Epoch) of the Day.js object. ```js -dayjs('2019-01-25').unix() // 1548381600 +dayjs('2019-01-25').unix() // 1548349200 ``` This value is floored to the nearest second, and does not include a milliseconds component.