vremel
Version:
JavaScript date utility library for Temporal API
9 lines • 380 B
TypeScript
import type { Temporal } from "../types.js";
/**
* Returns an integer of microseconds from Unix epoch until the exact time which the given temporal object represents.
*
* @param dt Temporal object
* @returns epoch microseconds
*/
export declare function epochMicroseconds(dt: Temporal.Instant | Temporal.ZonedDateTime): bigint;
//# sourceMappingURL=epochMicroseconds.d.ts.map