• Material
  • Fabric
  • Bootstrap
  • 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.