Search
DateTime.weeksBetween Method
See Also
 






Returns the number of weeks between two DateTime instances.

Namespace: MindFusion.Scheduling
File: DateTime.js

 Syntax

JavaScript  Copy Code

function weeksBetween (date1, date2)

 Parameters

date1

DateTime. The first DateTime instance.

date2

DateTime. The second DateTime instance.

 Return Value

Number. The number of weeks.

 See Also