@nostr-dev-kit/ndk-mobile
Version:
NDK Mobile
15 lines • 441 B
TypeScript
/**
* Utility functions for working with time in the NDK-Mobile library
*/
/**
* Convert a timestamp to seconds format
* @param timestamp - The timestamp to convert
* @returns The timestamp in seconds
*/
export declare function toSeconds(timestamp: number): number;
/**
* Get the current timestamp in seconds
* @returns Current timestamp in seconds
*/
export declare function nowSeconds(): number;
//# sourceMappingURL=time.d.ts.map