MCPcopy Index your code
hub / github.com/atomicdata-dev/atomic-data-browser / getTimestampNow

Function getTimestampNow

lib/src/commit.ts:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24/** Return the current time as Atomic Data timestamp. Milliseconds since unix epoch. */
25export function getTimestampNow(): number {
26 return Math.round(new Date().getTime());
27}
28
29/** A {@link Commit} without its signature, signer and timestamp */
30export class CommitBuilder implements CommitBuilderI {

Callers 2

signRequestFunction · 0.85
signMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected