IDtFieldDefinition.DateFormat

Syntax

DateFormat: String;

Description

The DateFormat property determines a format according to which dates will be parsed.

Comments

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:

Example

The example of use is given in description of the IDtObjectDataFormat.UsePredefinedDateFormats property.

See also:

IDtFieldDefinition