Date
Basic
Read only
20/01/2025
Ouput format
The outputFormat
property accepts any format handled by moment().format()
.
01/2025
20-01-2025
2025-01-20
outputFormat: 'MM/YYYY'
outputFormat: 'DD-MM-YYYY'
outputFormat: 'YYYY-MM-DD'
Name | Type | Required | Default | Description |
---|---|---|---|---|
formatDate | string | No | DD/MM/YYYY | The input date format. |
outputFormat | string | No | L | The output date format passed to Moment |