TcxFormatController.UseDelphiDateTimeFormats Property
Defines whether to use the SysUtils conversion functions to represent date values.
Declaration
property UseDelphiDateTimeFormats: Boolean read; write;
Property Value
Type |
---|
Boolean |
Remarks
Set this property to True to employ the SysUtils functions (DateTimeToStr) to convert date values to text representation. Otherwise, the system (GetDateFormat) functions are used instead.
The following code lets you use the short time format instead of the long time format in TcxDateEdit controls.
uses
..., cxFormats;
...
LongTimeFormat := 'hh:mm';
cxFormatController.UseDelphiDateTimeFormats := True;
See Also