Microsoft® JScript
setMinutes Method

See Also

Language Reference 

Description

Modifies the minutes stored in the Date object.

Syntax

dateObj.setMinutes( numMinutes )

The numMinutes argument is a numeric value equal to the minutes value.

Remarks

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.


© 1996 by Microsoft Corporation.

Casa de Bender