Returns the number of hours between two DateTime instances.
Namespace: MindFusion.Scheduling
Assembly: DateTime.js
JavaScript
![]() |
---|
function hoursBetween (date1, date2) |
DateTime. The first DateTime instance.
DateTime. The second DateTime instance.
Number. The number of hours.