date_mask

LANSA WAM

date_mask

Specifies the format or mask used to display and enter the date for the weblet. This is a string containing a number of format specifiers that tell the weblet how to format the date.

See the DateTime weblet for a full list of valid format specifiers.

Note: this specifies the presentation format the weblet uses. The input and output date received from and returned to the webroutine are always in ISO format. If you choose a different presentation format by setting this property, the weblet will convert to and from the internal representation as required.

 

Default value

'YYYY-MM-DD'

Valid values

Any string containing valid format specifiers.