AnyDAC
ContentsIndexHome
PreviousUpNext
TADFormatOptions.FmtDisplayTime Property

Specifies display format for ftTime fields.

Group
Links

Use the FmtDisplayTime property to specify DisplayFormat property for TTimeField / ftTime dataset fields. 

The option will be applied only to default fields or to persistent fields at the create time only. For format details see TTimeField.DisplayFormat.

property FmtDisplayTime: String;
ADQuery1.FormatOptions.FmtDisplayTime := 'hh:mm';
What do you think about this topic? Send feedback!