YearsBetween(Date from, Date to)
Returns the number of boundaries (beginning of year) crossed between the specified dates.
Parameters
- from
- The date to start.
- to
- The date to end.
Returns
Numeric
Examples
YearsBetween(#2012-01-01#, #2011-12-31#)
returns 1.