Skip to content

Function: normalizeDateString() ​

normalizeDateString(dateInput): string

Defined in: src/utils/time-utils.ts:53

Normalizes a date-like input into a strictly numeric YYYYMMDD string.

Parameters ​

dateInput ​

string | Date | { toDate: () => Date; } | null | undefined

Returns ​

string

Released under the MIT License.