Search
DateTime.hoursBetween Method
See Also
 






Returns the number of hours between two DateTime instances.

Namespace: MindFusion.Scheduling
File: DateTime.js

 Syntax

JavaScript  Copy Code

function hoursBetween (date1, date2)

 Parameters

date1

DateTime. The first DateTime instance.

date2

DateTime. The second  DateTime instance.

 Return Value

Number. The number of hours.

 See Also