Link Search Menu Expand Document

Date.SetMilliSeconds Method

 
Explanation Set the millisecond part in local time.
Although defined for compatibility with JavaScript , the resolution of the Date class is 1 second, so the value does not change when this method is executed.
Call format d.SetMilliSeconds (value)
Return value None
Arguments integer ms Specify the millisecond.
Exception None
Example of use
var d = new Date ();
d.SetMilliSeconds (0);
print (d, "¥ n");
Related item