GetTime - method of object PmTrend

Returns requested time.
GetTime(sType As String, nTimeType As Long) As Date
tTime = oTrend.GetTime("writenewest", nTimeType)
sType(String) Specifies what the time has to be returned by the method.
"writenewest" - time of the last written record is returned (of the newest record)
"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:
PROMOTIC 9.0.0 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