A Working Example of the DateDiff() Function

Returns the amount of time between two dates per the interval you select

This is a working example of the DateDiff function which returns the amount of time between two dates per the interval you select. You can use the following values for the interval:

yyyy - Year
q - Quarter
m - Month
y - Day of year
d - Day
w - Weekday

ww - Week
h - Hour
n - Minute
s - Second

Task Category:

Functions (Basic)