TableTimeFormat - property of the PmgTrendViewer object

Format of time column values in the table mode.

Setting this property differs according to setting the TableTimeFormatType property:

If it is 10, then this is the time and the format formula is set to the TableTimeFormat in the form, for example "%d.%m.%Y %H:%M:%S.%T", where:

d=day (01-31),
m=month (01-12),
Y=year (e.g. 2020),
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.

Initial value is string "%d.%m.%Y %H:%M:%S".

Variant TableTimeFormat
Property access for read and write. The preset value of this property is defined in the "TableTimeFormat" configurator of this object.

The property is used only if the table mode is set.

JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var nTableTimeFormat = oTView.TableTimeFormat;  //reading

oTView.TableTimeFormat = "%d.%m.%Y %H:%M:%S";  //writing
See the example in the description of the TableTimeFormatType property
See the example in the description of the TableTimeColumnWidth method
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