DATEDIF
Calculates the number of time steps between two dates
DATEDIF(start date
, end date
, part
)
Returns the differences between pairs of dates/times.
Arguments
Argument | Description |
| Date/time value(s) corresponding to |
| Date/time value(s) corresponding to |
| Part of the date/time objects to calculate the difference by. Supported parts:
|
Outputs
Differences between starting and ending dates/times.
Each difference is a whole number representing full date part differences between the end and start dates/times.
These whole numbers can be positive or negative. Fractional differences are rounded down to the nearest whole number.
Example
Last updated