Search
DateTime.__setHours Method
See Also
 






Sets the hours component of this DateTime instance.

Namespace: MindFusion.Scheduling
File: DateTime.js

 Syntax

JavaScript  Copy Code

function __setHours (hour, [min, [sec, [millisec]]])

 Parameters

hour

Number. An integer between 0 and 23 representing the hour.

min
Optional.

Number. An integer between 0 and 59 representing the minutes.

sec
Optional.

Number. An integer between 0 and 59 representing the seconds.

millisec
Optional.

Number. An integer between 0 and 999 representing the milliseconds.

 See Also