Microsoft® JScript setMinutes Method |
Language Reference |
Modifies the minutes stored in the Date object.
dateObj.setMinutes( numMinutes )
The numMinutes argument is a numeric value equal to the minutes value.
If the value of numMinutes is greater than 59 or is a negative number, the stored hours (and date, and month, and so on) are modified accordingly. For example, if the stored date is "Jan 5, 1996 00:00:00" and setMinutes(90) is called, the date is changed to "Jan 5, 1996 01:30:00". Negative numbers have a similar behavior.