New to Telerik UI for Blazor? Download Free 30-day trial
DateRangePicker - Two-Digit Year Format
- EDIT IN TELERIK REPL
- Change Theme
Two-digit year max
The selected date start is: 11/22/2022
The selected date end is: 11/27/2022
The Telerik UI for Blazor DateRangePicker component provides handling of two-digit year formats.
When the Format parameter of the DateRangePicker includes a two-digit year, the value can 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 parameter. If the typed value is below or equals the TwoDigitYearMax value, the date will be assumed to be from the current century. If it's above it, the date will be assumed to be from the previous century.