MCPcopy
hub / github.com/nextauthjs/next-auth / now

Function now

src/client/_utils.ts:66–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65/** Returns the number of seconds elapsed since January 1, 1970 00:00:00 UTC. */
66export function now() {
67 return Math.floor(Date.now() / 1000)
68}
69
70export interface BroadcastMessage {
71 event?: "session"

Callers 2

SessionProviderFunction · 0.90
postFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected