DateDiff
Returns the numeric difference in the requested date part between two dates
Method Signature
Arguments
Argument
Type
Required
Description
Default
datepart
string
true
date1
any
true
The reference date object
date2
any
true
The date which to compare against date1
Examples
Related
Last updated