/

DateTime KIT

Description and examples API
Use maskitoDateTimeOptionsGenerator to create a mask to input both date and time.

Localization

#

Use dateMode , timeMode and dateSeparator parameters to get a mask with a locale specific representation of dates.

Custom separator between date and time

#

Use dateTimeSeparator parameter to configure separator between date and time strings.

Min and max

#

Parameters min and max allow to set the earliest and the latest available dates. They accept native Date .

Time segments stepping via arrows

#

Property timeStep allows you to increment / decrement time segments by pressing ArrowUp / ArrowDown .

Use step === 0 (default value) to disable this feature.

AM / PM

#

Any timeMode ending with AA is 12-hour time format with meridiem part.