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