Calculates the number of years that have passed since the provided date.
The date from which to calculate the number of years passed.
The number of years that have passed since the provided date.
yearsSinceDate(new Date('2000-01-01'));;//=> {number of years since '2000-01-01'} Copy
yearsSinceDate(new Date('2000-01-01'));;//=> {number of years since '2000-01-01'}
Generated using TypeDoc
Calculates the number of years that have passed since the provided date.