JavaScript Reference/Javascript Methods/setMinutes
"setMinutes()" Example
<source lang="javascript">
<html> <body> <button onclick="var myDate = new Date(); myDate.setMinutes(2); alert(myDate);">SETMINUTES</button> </body> </html>
</source>
"setMinutes()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |Date | +----------------+--------------------------------------------------------------+
</source>
"setMinutes()" Syntax, Parameters and Note
<source lang="javascript">
Note: Sets the minutes.
Syntax:
dateName.setMinutes(param1, param2, param3) Parameters:
param1 Required; the minutes. Value: 0 to 59. param2 Optional; the seconds. Value: 0 to 59. param3 Optional; the milliseconds elapsed during the current second. Value: 0 to 999. </source>