MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / now

Function now

packages/auth-client/src/client/utils.ts:85–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84/** Returns the number of seconds elapsed since January 1, 1970 00:00:00 UTC. */
85export function now() {
86 return Math.floor(Date.now() / 1000);
87}
88
89/**
90 * Inspired by [Broadcast Channel API](https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API)

Callers 2

SessionProviderFunction · 0.90
postFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected