Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
export
function
daysAgo(days: number) {
28
return
sub(
new
Date(), { days });
29
}
30
31
export
function
nextWeek() {
32
return
add(
new
Date(), { days: 7 });
Callers
2
index
Function · 0.90
mark
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected