Search
DateTime.secondsBetween Method
See Also
 






Returns the number of seconds between two DateTime instances.

Namespace: MindFusion.Scheduling
File: DateTime.js

 Syntax

JavaScript  Copy Code

function secondsBetween (date1, date2)

 Parameters

date1

DateTime. The first DateTime instance.

date2

DateTime. The second DateTime instance.

 Return Value

Number. The number of seconds.

 See Also