MCPcopy Create free account
hub / github.com/dailydotdev/apps / utcDate

Function utcDate

packages/shared/src/components/analytics/creator/common.ts:73–73  ·  view source on GitHub ↗
(date: string)

Source from the content-addressed store, hash-verified

71};
72
73const utcDate = (date: string): Date => new Date(`${date}T00:00:00.000Z`);
74
75const millisecondsInDay = 24 * 60 * 60 * 1000;
76

Callers 3

formatCoverageDateFunction · 0.85
formatAxisDateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected