Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TCustomdxComponentPrinter.DateFormat Property

Specifies date presentation format.

#Declaration

Delphi
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