Skip to main content
Docs
DateDiff function
Returns a Variant (Long) specifying the number of time intervals between two specified dates. Syntax DateDiff(interval, date1, date2, [ firstdayofweek, [ firstweekofyear […]