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.
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.