MCPcopy Create free account
hub / github.com/anomalyco/models.dev / timestampToDate

Function timestampToDate

packages/core/script/generate-wandb.ts:137–139  ·  view source on GitHub ↗
(timestamp: number)

Source from the content-addressed store, hash-verified

135]);
136
137function timestampToDate(timestamp: number): string {
138 return new Date(timestamp * 1000).toISOString().slice(0, 10);
139}
140
141function getTodayDate(): string {
142 return new Date().toISOString().slice(0, 10);

Callers 1

mergeModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected