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, the string "%d.%m.%Y, %H:%M:%S", where %d means day, %m means month, %Y means year to 4 places, %H means hour, %M means minute, %S means second. %T means the number of milliseconds, it is possible to enter %nT, where n is 1, 2 or 3. Any conversion character from there ones can be omitted, it is also possible to change the order.
20 (default) - the automatic and optimized way of displaying the time, in this case the TableTimeFormat is not used.
Note:
Property access for read and write. The preset value of this property is defined in the TableTimeFormatType configurator of this object.

The property is used only when 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"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice