MCPcopy Index your code
hub / github.com/simstudioai/sim / daysAgo

Function daysAgo

apps/sim/connectors/gmail/gmail.ts:131–133  ·  view source on GitHub ↗
(now: Date, days: number)

Source from the content-addressed store, hash-verified

129}
130
131function daysAgo(now: Date, days: number): Date {
132 return new Date(now.getTime() - days * 24 * 60 * 60 * 1000)
133}
134
135function formatGmailDate(date: Date): string {
136 const y = date.getFullYear()

Callers 1

buildSearchQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected