Skip to content

MS_PER_DAY

github-actions[bot] edited this page May 30, 2026 · 1 revision

hijri-core v1.0.1


hijri-core / MS_PER_DAY

Variable: MS_PER_DAY

const MS_PER_DAY: 86400000 = 86_400_000

Defined in: constants.ts:8

Milliseconds in one day (24 * 60 * 60 * 1000).

Used internally for day-offset arithmetic when converting between Gregorian timestamps and Hijri dates. Exposed as a public constant so custom engine authors can share the same value without redefining it.

Clone this wiki locally