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