UNPKG

zeus-time

Version:

A next-gen, deterministic timekeeping standard. UNIX is dead. ZEUS lives.

12 lines (11 loc) 480 B
export declare function legacyUnixToZeus(unixTime: number): string; export declare function legacyZeusToUnix(zeusTime: string): number; /** * Converts a UNIX timestamp to ZEUS time format. * Ensures backward compatibility. */ export declare function convertUnixToZeus(unixTime: number, useLegacy?: boolean): Promise<string>; /** * Converts a ZEUS timestamp back to UNIX epoch time (if possible). */ export declare function convertZeusToUnix(zeusHash: string): number | null;