Search
DateTime.addHours Method (DateTime, Number)
See Also
 






Adds the specified number of hours to the specified DateTime object.

Namespace: MindFusion.Scheduling
File: DateTime.js

 Syntax

JavaScript  Copy Code

function addHours (date, hours)

 Parameters

date

DateTime. The DateTime instance to modify.

hours

Number. The number of hours to add.

 Return Value

DateTime. The modified DateTime instance.

 See Also