Skip to main content

TBasedxReportLink.DefaultDateFormat Method

Returns the default date format.

Declaration

function DefaultDateFormat: Integer; virtual;

Returns

Type
Integer

Remarks

Call this function to determine the date format of a report link when the DateFormat property is not explicitly set. The DefaultDateFormat function returns the date format of the component printer to which a report link belongs.

The DefaultDateFormat function returns a 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
See Also