date_mask
Specifies the format or mask used to display and enter the date for the weblet This is a string contains a number of format specifiers that tell the weblet how to format the date.
Valid format specifiers are:
Format Specifier |
Description |
YYYY |
Represents the year as a four-digit number. |
YY |
Represents the year as a two-digit number. |
MMMM |
Represents the name of the month as defined in std_script_messages.js |
MM |
Represents the month as a number from 01 through 12. A single-digit month is formatted with a leading zero. |
M |
Represents the month as a number from 1 through 12. |
DDD |
Represents the name of the day of the week as defined in std_script_messages.js |
DD |
Represents a day of the month from 1 - 31 A single digit day is formatted with a leading zero. |
D |
Represents a day of the month from 1 - 31. |
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