Incremental Steps

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

To change the default setup, use the steps property. The incremental steps configuration also affects the popup steps of the TimePicker.

The available options are:

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

In this article

Not finding the help you need?