Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetMinute - method of the PmDateObject object

Description:
Sets the PmDateObject object to desired minute (eventually second, millisecond).
Syntax:
Empty SetMinute(Long minute, [Long second], [Long milli])
Parameters:
minute(Long) minute. Number between 0-59.
second[optional] (Long) second. Number between 0-59.
If not defined then the second value is not changed.
milli[optional] (Long) millisecond. Number between 0-999.
If not defined then the milisecond value is not changed.
Note:
This method is also functional in Web panels.
See also:
Example1:
JavaScriptSelect and copy to clipboard

var oDate = Pm.CreatePmDateObject();
oDate.SetMinute(30);
Example2:
JavaScriptSelect and copy to clipboard

var oDate = Pm.CreatePmDateObject();
oDate.SetMinute(30, 0, 0);

History:
Pm8.02.00: Created
PROMOTIC 9.0.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice