Link Search Menu Expand Document

Date.SetMinutes Method

Explanation Set the minute part in local time.
The omitted parameter items are not changed.
Call format d.SetMinutes (value [, sec [, ms ]]])
Return value None
Arguments integer value Specify the minute numerically.
integer sec Specify the seconds numerically.
integer ms Specify the millisecond. The resolution accuracy of the Date class is 1 second, so even if you specify ms, it does not affect the result.
Exception None
Example of use
var d = new Date ();
print (d, "¥ n");
d.SetMinutes (0);
print (d, "¥ n");
Related item