# Time Ranges in .NET MAUI TimePicker

The TimePicker allows you to define a time range and choose a time within that range through the following properties:

* `MinimumTime`(`TimeSpan`)—Defines a time which marks the beginning of the range of the available time values. The default value is `TimeSpan.Zero`.

* `MaximumTime`(`TimeSpan`)—Defines a time which marks the end of the range of the available time values to choose from. The default value is `TimeSpan(23, 59, 59)`.

The following example shows how to set the time ranges.

**1.** Define the TimePicker:

```XAML
<telerik:RadTimePicker MinimumTime="8:00:00"
                         MaximumTime="19:00:00"/>
```

**1.** Add the namespace:

```XAML
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
```

## See Also

* [Templates](https://www.telerik.com/maui-ui/documentation/controls/timepicker/templates)
* [Time Format Strings](https://www.telerik.com/maui-ui/documentation/controls/timepicker/formatting)
* [Styling](https://www.telerik.com/maui-ui/documentation/controls/timepicker/styling/styling)
* [Selection](https://www.telerik.com/maui-ui/documentation/controls/timepicker/selection)
* [Commands](https://www.telerik.com/maui-ui/documentation/controls/timepicker/commands)
