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