Search
DateTime.subtract Method (DateTime, DateTime)
See Also
 






Returns the number of milliseconds between the specified dates.

Namespace: MindFusion.Scheduling
File: DateTime.js

 Syntax

JavaScript  Copy Code

function subtract (date1, date2)

 Parameters

date1

DateTime. The date to subtract from.

date2

DateTime. The date to subtract.

 Return Value

Number. The number of milliseconds between the specified dates.

 See Also