• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of DateTime Range in ASP.NET Core DateTimePicker Control

This example demonstrates date and time selection within specific ranges defined by the Min, Max, MinTime, and MaxTime properties. Dates and times outside these ranges are restricted and cannot be set or selected.

DEMO
SOURCE

Date Range example explains the date and time selection within the specific range in a calendar and time popup list by using Min, Max, MinTime and MaxTime properties. Here, the 1st datetimepicker date selection range was restricted within a range from 7th 10:00 AM to 27th 10:30 PM days in a month.

The 2nd datetimepicker time selection range is restricted from 10:00 AM to 8:30 PM of each day.

More information on the datetime range configuration can be found in the documentation section.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab