DateTime KIT

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

Localization Copy

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

    
    
    
    
    
    
    
    
    
    

Custom separator between date and time Copy

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

    
    
    
    
    
    
    
    
    
    

Min and max Copy

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

    
    
    
    
    
    
    
    
    
    

Time segments stepping via arrows Copy

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

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