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

Example of Date Range in ASP.NET MVC DateTimePicker Control

In the following sample, a specific datetime ranges from 7th 10:00 AM to 27th 10:30 PM of the current month has been set to select from the Calendar. All the other dates are out of range and restricted to set or select.

DEMO
SOURCE

DateTime Range sample illustrates the datetime selection within the specific range in a calendar and time popup list by using min and max properties. Here, the datetime selection range was restricted within a range from 7th 10:00 AM to 27th 10:30 PM in a month.

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

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