UNPKG

@burglekitt/gmt

Version:

Temporal-based date and time utilities with timezone support and polyfill integration

12 lines (11 loc) 374 B
/** * Return the current PlainDate as an ISO string in the system timeZone. * * - Uses Temporal.Now.zonedDateTimeISO to get current date in system timezone. * - Returns "" when system timezone is unavailable. * * @returns ISO 8601 PlainDate string or "" on error * * @example getToday() // "2024-03-15" (current date) */ export declare function getToday(): string;