GetTime - method of the PmaTrendGroup object

Returns requested time.
Date GetTime(String sType, Long nTimeType)
sType(String) Specifies what the time has to be returned by the method.
"writenewest" - time of the last written (of the newest) of record is returned
"writeoldest" - time of the oldest written record is returned
nTimeType(Long) Type of returned time
1 - The method returns "local time" (the "standard time" in the standard season and the "daylight-saving time" in the daylight-saving season, corresponds to the computer time depending on the locale setting of Windows system)
2 - The method returns "standard time" (in the daylight-saving and standard seasons).
See also:
- Pm.GetDateOf (method)
JavaScriptVBScriptSelect and copy to clipboard

var oTrend = pMe.Pm("/Trends");
var tTime = oTrend.GetTime("writenewest", 1);
PROMOTIC 9.0.25 SCADA system documentation MICROSYS, spol. s r.o.

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