MCPcopy Create free account
hub / github.com/freecodexyz/free-code / startOfDay

Function startOfDay

src/utils/formatBriefTimestamp.ts:79–81  ·  view source on GitHub ↗
(d: Date)

Source from the content-addressed store, hash-verified

77}
78
79function startOfDay(d: Date): number {
80 return new Date(d.getFullYear(), d.getMonth(), d.getDate()).getTime()
81}

Callers 1

formatBriefTimestampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected