New to KendoReactStart a free 30-day trial

Formats

You can control the format of the DateInput by using the format property, which accepts string parameters.

By default, the format property is set to 'd'. For more information on the date and number formats KendoReact supports, refer to the kendo-intl GitHub repository.

Change Theme
Theme
Loading ...

Two-Digit Year Format

When the format includes a two-digit year, the value will automatically be normalized to the current or previous century.

Whether the value will be assumed to be from the current or previous century is controlled by the twoDigitYearMax property. If the typed value is less than or equal to the twoDigitYearMax value, the date will be assumed to be from the current century. If it's more than it, the date will be assumed to be from the previous century.

By default, the twoDigitYearMax is set to 68.

Change Theme
Theme
Loading ...
In this article
Suggested Links
Not finding the help you need?
Contact Support