/

DateTime KIT

Examples API Source code

[dateMode]
Date format mode
MaskitoDateMode
[timeMode]
Time format mode
MaskitoTimeMode
[dayPeriod]
Tuple of two locale-specific day-period markers (AM-marker first, PM-marker second). When both are non-empty, the time portion of the mask switches to 12-hour format and appends the selected marker. Pass ['', ''] for 24-hour format.

Default:['', '']

readonly [string, string]
[dateSeparator]
Date separator

Default:. (dot).

string
[dateTimeSeparator]
Separator between date and time

Default: (comma and space)

string
[timeStep]
The value by which the keyboard arrows increment/decrement time segments

Default:0 (disable stepping)

number
[min]
Earliest date
Date
[max]
Latest date
Date