The JavaScript Date Range Picker is a lightweight and mobile-friendly component that allows end users to select start and end date values as a range from a calendar pop-up or by entering values directly in the HTML input text box.
Define preset ranges (like last 30 days or last week) to set date ranges frequently used by the end users.
The JavaScript DateRangePicker component’s input value can be customized in addition to the default culture-specific date format.
A multi-language JavaScript DateRangePicker allows changing the names of months, days, and the today button text to any supported language (globalization). The date format and first day of the week are set to a specific culture.
Easily restrict users to select only a date range with specific minimum and maximum numbers of days (span of days) by setting the min and max days options.
Enter or select a date within a specific range of dates by defining the min and max properties.
The DateRangePicker allows only valid dates to be entered by restricting dates out-of-min and out-of-max date ranges. This prevents users from entering or selecting restricted dates from a date range.
Control the appearance of the component. Customize the style based on your application’s look and feel.
Show the week numbers in the pop-up calendar.
Change the first day of the week in every month of a year.
The DateRangePicker component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different DateRangePicker platforms from the links below,
The JavaScript Date Range Picker provides an adaptive and responsive UI appearance for mobile devices.
Control all the UI elements and behaviors of the Date Range Picker with a rich set of developer-friendly APIs to provide the best user experience.
The JavaScript DateRangePicker 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 DateRangePicker using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript DateRangePicker Example that shows you how to render and configure a DateRangePicker in JavaScript.
<div class="col-lg-12 control-section">
<div id="wrapper">
<input id="daterangepicker" type="text" /><br/><br/>
</div>
</div>
import { loadCultureFiles } from '../common/culture-loader';
import { DateRangePicker } from '@syncfusion/ej2-calendars';
/**
* Default DateRangePicker sample
*/
loadCultureFiles();
let daterangepicker: DateRangePicker = new DateRangePicker();
daterangepicker.appendTo('#daterangepicker');
The Syncfusion JavaScript DateRangePicker provides the following features:
We do not sell the JavaScript DateRangePicker separately. It is only available for purchase as part of the Syncfusion JavaScript suite, which contains over 80 JavaScript components, including the DateRangePicker. A single developer license for the Syncfusion Essential Studio for JavaScript suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
You can find our JavaScript DateRangePicker demo here.
No, our 80+ JavaScript components, including DateRangePicker, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their DateRangePicker alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 80+ JavaScript components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
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.