Skip to content

Field Properties - Date Tab - Date Format

This combobox allows selection of a formatting to be used for Date values.

The available options are:

Option Description Remarks
Windows Long Uses the Long Date Format setting from the PC's Regional date configuration Results use the locale settings which means that running the report on two differently configured machines delivers different output
Windows Short Uses the Short Date Format setting from the PC's Regional date configuration Results use the locale settings which means that running the report on two differently configured machines delivers different output
Custom The formatting of the date is controlled by the second part of the dialog (date mask) Always produces the same date format in the output. The used Day and Month names are localized strings.
Custom Mask The formatting of the date is controlled by the MASK string in the Date Mask part of the dialog If not conditionally defined, this option always produces the same date format in the output. The used Day and Month names are localized strings.
None Suppress the date part of a DateTime value

The setting can also be defined conditionally by using a function returning one of the predefined Date Format constants.

An example of using a function for setting the date format:

    return {User.DateFormat}