DateFormat: String;
DateFormat: string;
The DateFormat property determines a format according to which dates will be parsed.
The format is created using substitutions and separators. The following letters are admitted as separators: A, M and Q.
To determine how date component will be presented the following substitutions are used:
Parameter | Description |
$Year$ | Year. |
$Halfyear$ | Half-year. |
$Quarter$ | Quarter. |
$Month$ | Month. |
$Weak$ | Week. |
$Day$ | Day. |
The following combinations in the template are not allowed:
Quarter and month.
Half-year and month.
Half-year and quarter.
Half-year and week.
Week and day.
Quarter and week.
Month and week.
The example of use is given in description of the IDtObjectDataFormat.UsePredefinedDateFormats property.
See also: