UNPKG

@anthropic-ai/sdk

Version:
5 lines (4 loc) 126 B
/** Current time as unix epoch seconds. */ export function nowAsSeconds(): number { return Math.floor(Date.now() / 1000); }