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