Skip to content

jin-frame / tools/getDuration / getDuration

Function: getDuration() ​

getDuration(start, end): number

Defined in: packages/jin-frame/src/tools/getDuration.ts:7

getDuration only calculate milliseconds ~ days

Parameters ​

start ​

Date

end ​

Date

Returns ​

number