FireDAC.Phys.ADS.TFDPhysADSDriverLink.DateFormat
Delphi
property DateFormat: String read GetDateFormat write SetDateFormat stored IsDFS;
C++
__property System::UnicodeString DateFormat = {read=GetDateFormat, write=SetDateFormat, stored=IsDFS};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Phys.ADS.pas FireDAC.Phys.ADS.hpp |
FireDAC.Phys.ADS | TFDPhysADSDriverLink |
Description
Specifies the default driver date format.
Use the DateFormat property to specify the default date format for the FireDAC Advantage driver.
The format is used for dates represented as character strings. This allows the control of date formatting for applications used internationally.
The setting affects how the Advantage interprets all date strings passed to the Advantage from the calling application. It also defines how the Advantage formats all dates passed back from the Advantage to the calling application.
DateFormat can also be used to specify separators in the date format. For example, 'DD/MM/YYYY' and 'DD-MM-YYYY' are both valid date formats. The default value is 'MM/DD/YYYY'.