/

Time KIT

Description and examples API
Use maskitoTimeOptionsGenerator to create a mask for time input.
Despite the name of the mask, element's raw value is still string.

Use maskitoParseTime to get milliseconds from masked string.

Use maskitoStringifyTime to get the masked string from milliseconds.

    
    

Mode

#

Use mode property to set time format. See the full list of available mode on API page of the documentation.

AM / PM

#

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

Arrows stepping

#

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

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

Min / max value for every time segment

#

Property timeSegmentMinValues / timeSegmentMaxValues allows you to set min/max value for every time segment.

Time segments are units of the time which form time string. For example, HH:MM consists of two time segments: hours and minutes.