MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / daysAgo

Function daysAgo

packages/utilities/src/date.ts:27–29  ·  view source on GitHub ↗
(days: number)

Source from the content-addressed store, hash-verified

25}
26
27export function daysAgo(days: number) {
28 return sub(new Date(), { days });
29}
30
31export function nextWeek() {
32 return add(new Date(), { days: 7 });

Callers 2

indexFunction · 0.90
markMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected