Promotic
WikipediaLinkedInYoutubeTwitterFacebook

TableTimeFormatType - property of object TrendsView

Description:
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.
Syntax:
TableTimeFormatType As Long
Calling:
oTView.TableTimeFormatType = nType
Values:
10 - the TableTimeFormat sets the format formula 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. 2017),
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 is not used in this case.
Note:
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.

Example:
Values in the time column are the time according to the format: day.month.year hour:minute:second.
oTView.TableTimeFormatType = 10
oTView.TableTimeFormat = "%d.%m.%Y %H:%M:%S"
PROMOTIC 8.3.21 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