Skip to content

Field Properties - Date Tab - Date Mask

This part of the tab-page becomes active if the chosen Date Format is Custom or Custom Mask.

When the 'Custom' option is selected, the date format can be constructed using the date ordering radio combined with the choices from Year, Month, Day format, Day Text, and Date Separator.

When the 'Custom Mask' option is selected, a date mask string can be entered. The mask must be built using the supported date mask characters/layout.

For example, to get the date string "Wed, Aug 31 17", a "ddd',' MMM dd yy" mask should be used. Be aware that the string values, like ‘ddd’, are returned in the user’s locale.

The date mask can also be set conditionally using a function.

An example of such a function is:

if {?LongDate} then
    return "ddd',' MMM dd yyyy"
else
    return "ddd',' MMM dd yy"
end