_ymdint_between

Returns a number representing the difference between "date_expression1" and "date_expression2". The returned value has the form YYYYMMDD, where YYYY represents the number of years, MM represents the number of months, and DD represents the number of days.

Syntax

_ymdint_between ( date_expression1 , date_expression2 )

Example

_ymdint_between ( 1990-04-30 , 2003-02-05 )

Result

120906, meaning 12 years, 9 months and 6 days.