dateFormat
The input format of the date portion of the datetime. The default 'Auto' uses the default for the language (regional setting).
Note: this specifies the presentation format the weblet uses. The input and output datetime 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
'Auto'. Uses the default for the language (regional setting).
Valid values
The following formats are supported:
Date Format |
Example |
dd/mm/yyyy |
09/06/2025 |
dd/mm/yy |
09/06/25 |
dd-mm-yyyy |
09-06-2025 |
dd-mm-yy |
09-06-25 |
mm/dd/yyyy |
06/09/2025 |
mm/dd/yy |
06/09/25 |
mm-dd-yyyy |
06-09-2025 |
mm-dd-yy |
06-09-25 |
yyyy-mm-dd |
2025-06-09 |
yy-mm-dd |
25-06-09 |
yyyy/mm/dd |
2025/06/09 |
yy/mm/dd |
25/06/09 |
d-M-yy |
9-Jun-25 |
d-M-yyyy |
9-Jun-2025 |
d M, yy |
9 Jun, 25 |
d M, yyyy |
9 Jun, 2025 |
d-MM-yy |
9-Jun-25 |
d-MM-yyyy |
9-Jun-2025 |
d MM, yy |
9 Jun, 25 |
d MM, yyyy |
9 Jun, 2025 |
dd-M-yy |
09-Jun-25 |
dd-M-yyyy |
09-Jun-2025 |
dd M, yy |
09 Jun, 25 |
dd M, yyyy |
09 Jun, 2025 |
dd-MM-yy |
09-June-25 |
dd-MM-yyyy |
09-June-2025 |
dd MM, yy |
09 June, 25 |
dd MM, yyyy |
09 June, 2025 |
yy-M-d |
25-Jun-9 |
yyyy-M-d |
2025-Jun-9 |
yy M, dd |
25 Jun, 09 |
yyyy M, dd |
2025 Jun, 09 |
yy-MM-d |
25-June-9 |
yyyy-MM-d |
2025-June-9 |
yy MM, d |
25 June, 9 |
yyyy MM, d |
2025 June, 9 |
yy-M-dd |
25-Jun-09 |
yyyy-M-dd |
2025-Jun-09 |
yy M, dd |
25 Jun, 09 |
yyyy M, dd |
2025 Jun, 09 |
yy-MM-dd |
25-June-09 |
yyyy-MM-dd |
2025-June-09 |
yy MM, dd |
25 June, 09 |
yyyy MM, dd |
2025 June, 09 |
DDDDDD, d MM yyyy |
Monday, 9 June 2025 |
DDDDDD, d MM yy |
Monday, 9 June 25 |
DDDDDD, dd MM yyyy |
Monday, 09 June 2025 |
DDDDDD, dd MM yy |
Monday, 09 June 25 |