GetTime - method of object PmTrend

The method returns requested time.
GetTime(sType As String, nTimeType As Long) As Date
tTime = oTrend.GetTime("writenewest", nTimeType)
sType(String) Determines 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 according to the local settings)
2 - The method returns "standard time" (in the daylight-saving and standard seasons).
See also:
PROMOTIC 8.3.23 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