The JavaScript DateTime Picker is a lightweight and mobile-friendly control that allows end users to enter or select date and time values from a pop-up calendar and drop-down time list. It provides month, year, and decade views for quick navigation to the desired date.
HTML5 DateTime Picker allows users to enter valid dates and times in the correct format and avoid data input errors during data entry.
Change the default culture’s specific date and time format in the text box to improve readability or enter the value properly.
You can restrict the JavaScript DateTime Picker, so that only date and time values within a specific range can be entered or selected by specifying the min and max date time options.
Disable any date in the JavaScript Date Time Picker to show it as an inactive date. Easily prevent weekends and holidays from selection by disabling them in the pop-up calendar.
Update the culture-specific datetime format and first day of the week, and translate the names of months, days, and today button text to any supported language with our globalization feature.
JavaScript Date Time Picker allow only valid values to be entered in the DateTime Picker control’s input by validating them with disabled, out-of-min, and out-of-max date-time.
Apart from the standard built-in themes, HTML5 DateTime Picker allows complete control to customize its appearance to suit your application.
Highlight any date in a year or every weekend in a month as special days using custom styling in HTML5 DateTime Picker.
Auto-update the first day of the week based on the specified culture or change it based on your application.
Show the week number of the selected day in the pop-up calendar by enabling the week number option.
In addition to the Gregorian DateTime Picker, the HTML DateTimePicker control supports displaying the Islamic DateTimePicker (Hijri DateTimePicker).
The DateTime Picker component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different DateTime Picker platforms from the links below,
The JavaScript DateTime Picker provides a responsive mode that gives an adaptive UI appearance for mobile devices.
You can control all UI elements and their behaviors according to the end user’s requirements using a rich set of developer-friendly APIs.
The HTML5 DateTime Picker supports several built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.
Easily get started with the JavaScript DateTime Picker using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript DateTime Picker Example that shows you how to render and configure a DateTime Picker in JavaScript.
<div class="col-lg-12 control-section">
<div id="wrapper">
<input id="datetimepicker" type="text" />
<br/>
<br/>
</div>
</div>
import { loadCultureFiles } from '../common/culture-loader';
import { DateTimePicker } from '@syncfusion/ej2-calendars';
/**
* Default DateTimePicker sample
*/
loadCultureFiles();
let dateTimeInstance: DateTimePicker = new DateTimePicker();
dateTimeInstance.appendTo('#datetimepicker');
The Syncfusion JavaScript DateTime Picker provides the following features:
You can find our JavaScript DateTime Picker demo, which demonstrates how to render and configure the DateTime Picker.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.