UNPKG

vremel

Version:

JavaScript date utility library for Temporal API

9 lines 360 B
import type { Temporal } from "../types.js"; /** * Returns an integer of seconds from Unix epoch until the exact time which the given temporal object represents. * * @param dt Temporal object * @returns epoch seconds */ export declare function epochSeconds(dt: Temporal.Instant | Temporal.ZonedDateTime): number; //# sourceMappingURL=epochSeconds.d.ts.map