• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.

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.


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.