DATEDIFF
Last updated
Was this helpful?
The DATEDIFF function returns the number of days between two dates. This function is commonly used to calculate durations, intervals, and date differences in reports and planning scenarios.
DATEDIFF(fromDate, toDate)fromDate: The start date of the interval.
toDate: The end date of the interval.
Returns the number of days between the two dates.
DATEDIFF(Open Date, Close Date)Calculates the number of days between the Open Date and Close Date fields. For example, if Open Date is 05/22/2026 and Close Date is 05/28/2026, the function returns 6.

Last updated
Was this helpful?
Was this helpful?