Sets the hours component of this DateTime instance.
Namespace: MindFusion.Common
Package: Common.js
JavaScript
![]() |
---|
function __setHours (hour, [min, [sec, [millisec]]]) |
An integer between 0 and 23 representing the hour.
An integer between 0 and 59 representing the minutes.
An integer between 0 and 59 representing the seconds.
An integer between 0 and 999 representing the milliseconds.