AnyDAC
ContentsIndexHome
PreviousUpNext
TADFormatOptions.FmtDisplayDate Property

Specifies display format for ftDate fields.

Group
Links

Use the FmtDisplayDate property to specify DisplayFormat property for TDateField / ftDate dataset fields. 

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

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