TCustomdxComponentPrinter.DateFormat Property
Specifies date presentation format.
Declaration
property DateFormat: Integer read; write; default 0;
Property Value
| Type | Default |
|---|---|
| Integer | 0 |
Remarks
A component printer has a set of predefined date formats that can be applied to a report. The report date format depends on the format specified in the System Regional Settings. The DateFormat property specifies the zero-based index of the appropriate format.
| Index | Example |
|---|---|
| 0 | 2/14/01 |
| 1 | Wednesday, February 14, 2001 |
| 2 | February 14, 2001 |
| 3 | 2/14/2001 |
| 4 | 2001-02-14 |
| 5 | 14-Feb-01 |
| 6 | 2.14.01 |
| 7 | Wednesday, Feb. 14, 01 |
| 8 | 2.14.2001 |
| 9 | February, 01 |
| 10 | Feb-01 |
The default value of this property is 0.
See Also