getToday
Signature
Section titled “Signature”getToday(): stringReturn 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
Section titled “Returns”ISO 8601 PlainDate string or "" on error
Examples
Section titled “Examples”import { getToday } from "@northguild/gmt/plain/get";
getToday() // "2024-03-15" (current date)Source
Section titled “Source”Accessibility
© 2026 NorthGuild · Licences
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.