Promotic

GetMinute - method of the PmDateObject object

Description:
The minute of the hour (integer 0-59).
Syntax:
Long GetMinute()
Note:
This method is also functional in Web panels.
Example1:
JavaScriptSelect and copy to clipboard

var oDate = Pm.CreatePmDateObject();   // Creates the object with current time
var nMin = oDate.GetMinute();
Example2:
Creates the PmDateObject object and sets it to date and time represented by PmDate - date and time in the PROMOTIC internal numeric form (the tDate variable).
JavaScriptSelect and copy to clipboard

var oDate = Pm.CreatePmDateObject(tDate);
var nMin = oDate.GetMinute();

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

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.