Files
kener/scripts/testts.js
T
Raj Nandan Sharma 7ce764d400 refactored whole code
2023-12-17 23:29:39 +05:30

10 lines
478 B
JavaScript

import { GetNowTimestampUTC, GetMinuteStartTimestampUTC, GetMinuteStartNowTimestampUTC, GetDayStartTimestampUTC } from "./tool.js";
let ts = GetNowTimestampUTC();
console.log("GetNowTimestampUTC: " + ts);
let tm = GetMinuteStartTimestampUTC(ts);
console.log("GetMinuteStartTimestampUTC: " + tm);
let tms = GetMinuteStartNowTimestampUTC();
console.log("GetMinuteStartNowTimestampUTC: " + tms);
let td = GetDayStartTimestampUTC(ts);
console.log("GetDayStartTimestampUTC: " + td);