Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ getTime
Function
getTime
packages/common/src/date.ts:4–6 ·
view source on GitHub ↗
(date: string | number | Date)
Source
from the content-addressed store, hash-verified
2
export
{ DateTime } from
'luxon'
;
3
4
export
function
getTime(date: string | number | Date) {
5
return
new
Date(date).getTime();
6
}
Callers
1
incomingEvent
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected