UNPKG

date-fns-tz

Version:

Time zone support for date-fns v3 with the Intl API

6 lines (5 loc) 220 B
/** * Returns the [year, month, day, hour, minute, seconds] tokens of the provided * `date` as it will be rendered in the `timeZone`. */ export declare function tzTokenizeDate(date: Date, timeZone: string): number[];