...
- Inputs must be column references.
- The first value is used as the baseline to compare the date values.
- Results are calculated to the integer value that is closest to and lower than the exact total; remaining decimal values are dropped.
D s |
---|
D s | ||
---|---|---|
|
D lang syntax | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
datedif(StartDate, EndDate, month) |
...
- Date values must be column references.
- If
date1
anddate2
have a specified time zone offset,DATEDIF
the function calculates the the difference including the timezone offsets. - If
date1
does not have a specified time zone butdate2
does,DATEDIF
uses the function uses the local time in the same time zone asdate2
to calculate the difference.DATEDIF
returns The functions returns the difference without the time zone offset.
...