Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetSecond - method of the PmDateObject object

Description:
Sets the PmDateObject object to desired second and millisecond.
Syntax:
Object SetSecond(Long second, [Long milli])
Parameters:
second(Long) second. Number between 0-59.
milli[optional] (Long) millisecond. Number between 0-999.
Note:
This method is also functional in Web panels.
Example1:
JavaScriptSelect and copy to clipboard

var tDate = Pm.CreatePmDateObject();
tDate.SetSecond(30, 0);
Example2:
JavaScriptSelect and copy to clipboard

var tDate = Pm.CreatePmDateObject();
tDate.SetSecond(30, 0);

History:
Pm8.02.00: Created
PROMOTIC 9.0.13 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