blinksocks/lib/utils/date.js
2019-02-13 13:18:48 +08:00

10 lines
214 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getCurrentTimestampInt = getCurrentTimestampInt;
function getCurrentTimestampInt() {
return Math.floor(Date.now() / 1e3);
}