Skip to main content

Variable: MAX_VALID_DATE_EPOCH_MS

const MAX_VALID_DATE_EPOCH_MS: 8640000000000000 = 8_640_000_000_000_000;

Defined in: shared/validation/timestampSchemas.ts:10

Maximum epoch millisecond value accepted by JavaScript Date.

Remarksโ€‹

Values above this can still be safe integers, but new Date(value) produces an invalid Date object and renderer formatting degrades to "Invalid Date".