TableTimeFormatType - property of the PmgTrendViewer object

Format type of time column values in the table mode. For setting the format of the time values it is necessary to set the TableTimeFormatType and TableTimeFormat properties.
Long TableTimeFormatType
10 - The TableTimeFormat property specifies the formatting rule in the form of a string in the syntax of the C language.
In the TableTimeFormat it is possible to enter, for example string "%d.%m.%Y, %H:%M:%S.%T", where
d=day (01-31),
m=month (01-12),
Y=year (e.g. 2021),
H=hour (00-23),
M=minute (00-59),
S=second (00-59),
T=millisecond (000-999) - it is possible %nT, where n is count of figures 1, 2 or 3

Any of the chars %d, %m, %Y, %M, ... can be omitted and so to omit the corresponding time item in the presentation.
20 (default) - The automatic and optimized way of displaying the time, the TableTimeFormat property is not used in this case.
Property access for read and write. The preset value of this property is defined in the "Table time format type" configurator of this object.
The property is used only if the table mode is set.
Values in the time column are the time according to the format: day.month.year hour:minute:second.
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
oTView.TableTimeFormatType = 10;
oTView.TableTimeFormat = "%d.%m.%Y %H:%M:%S";
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

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