Returns the number of years between two DateTime instances.
Namespace: MindFusion.Scheduling
Assembly: DateTime.js
SyntaxJavaScript
Copy Code
|
|---|
function yearsBetween (date1, date2) |
DateTime. The first DateTime instance.
DateTime. The second DateTime instance.
Number. The number of years.
See Also