UNPKG

datezone

Version:

A lightweight and comprehensive date and timeZone utility library for JavaScript.

31 lines 659 B
/** * Second in milliseconds. * * @see https://datezone.dev/docs/reference/constants#second */ export const SECOND = 1000; /** * Minute. * * @see https://datezone.dev/docs/reference/constants#minute */ export const MINUTE = 60_000; /** * Hour in milliseconds. * * @see https://datezone.dev/docs/reference/constants#hour */ export const HOUR = 3_600_000; /** * Day in milliseconds. * * @see https://datezone.dev/docs/reference/constants#day */ export const DAY = 86_400_000; /** * Week in milliseconds. * * @see https://datezone.dev/docs/reference/constants#week */ export const WEEK = 604_800_000; //# sourceMappingURL=constants.pub.js.map