This commit is contained in:
mamengke01
2021-01-07 12:39:47 +08:00
parent 94fc48a59a
commit 9e67b6b062
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1,6 +1,5 @@
const PER_SECOND = 1 * 1000;
const PER_DAY = 24 * 60 * 60;
export function nowSeconds() {
return Math.floor(Date.now() / PER_SECOND );
}