getDay
Signature
Section titled “Signature”getDay(): stringimport { getDay } from "@northguild/gmt/plain/get";Return the current day of month using the system timeZone.
- Uses Temporal.Now.zonedDateTimeISO to get current day in system timezone.
- Returns zero-padded string (e.g., “29”).
- Returns “” when system timezone is unavailable.
Returns
Section titled “Returns”current day string (zero-padded) or “” on invalid
Examples
Section titled “Examples”getDay() // "29"getDay() // "" (when system timeZone unavailable)