The DateConvert logic command converts dates between date formats. The segment's Date Format property determines the date format.
There are two forms of the DateConvert logic command:
The DateConvert complex form performs the conversion and updates either a series of built-in segment attributes, so that the date can be accessed in various formats, or a single variable in a specified format. It can also be used to edit dates.
The DateConvert simple form converts the value of the Glb.Total built-in segment attribute as either the source or target of a relative day number.
Note: Recommended usage of the DateConvert logic command is the complex form.