UNPKG

@northguild/gmt

Version:

Date and time library for JavaScript and TypeScript, built on TC39 Temporal: time zones, DST, business days, ISO 8601 strings in and out. Never throws.

11 lines • 369 B
/** * Return the current microsecond from the Unix timestamp in UTC as a zero-padded string. * * - Uses nowInstant() converted to UTC zoned date time. * - Returns zero-padded string to 3 digits. * * @returns current microsecond string (zero-padded to 3 digits) * * @example getUnixMicrosecond() // "456" */ export declare function getUnixMicrosecond(): string;