Returns the number of years between two DateTime instances.
Namespace: MindFusion.Scheduling
File: DateTime.js
JavaScript Copy Code |
---|
function yearsBetween (date1, date2) |
DateTime. The first DateTime instance.
DateTime. The second DateTime instance.
Number. The number of years.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |