Incremental Steps

By default, the DateTimePicker increments or decrements each part of its date and time values by one step.

To change the default setup, use the steps property.

The available options are:

  • year: Number—Controls the incremental step of the year value.
  • month: Number—Controls the incremental step of the month value.
  • day: Number—Controls the incremental step of the day value.
  • hour: Number—Controls the incremental step of the hour value.
  • minute: Number—Controls the incremental step of the minute value.
  • second: Number—Controls the incremental step of the second value.
Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?