We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The JavaScript Date Range Picker is a lightweight and mobile-friendly control 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.


Why choose Syncfusion Essential Studio® JavaScript DateRangePicker?

JavaScript DateRangePicker customizable date formats.

Customizable date formats 

The DateRangePicker control input value can be customized in addition to the default culture-specific date format. 

JavaScript DateRangePicker preset range.

Preset range

Define preset ranges (like last 30 days or last week) to set date ranges frequently used by the end users.

JavaScript DateRangePicker adapts to any resolution.

Adapts to any resolution

The DateRangePicker has a highly responsive layout and an optimized design for desktops, touch screens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

JavaScript DateRangePicker specific date restrictions.

Specific date restrictions

Restricts dates outside the min and max date ranges, allowing only valid dates to be entered. Users cannot enter or choose restricted dates.

JavaScript DateRangePicker customizable theme.

Attractive customizable themes

Cutting edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes of Date Range Picker easily.

JavaScript DateRangePicker globalization and localization.

Globalization and localization

Enables users from different locales to use the DateRangePicker by formatting dates, currency, and numbering to suit preferences.


JavaScript DateRangePicker Code Example

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');

Multi-language Date Range Picker

A multi-language 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.

Multi language support in JavaScript DateRangePicker.


Date selection within a range in JavaScript DateRangePicker.

Date selection within a range

Enter or select a date within a specific range of dates by defining the min and max properties.


Date-range validation

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.

Date range validation in JavaScript DateRangePicker.


JavaScript DateRangePicker customization.

Customize DateRangePicker

You can control the appearance of the component. Customize the style based on your application’s look and feel. Also change the format of the day that to be displayed in header.


Week numbers

Show the week numbers in the pop-up calendar.

Week number in JavaScript DateRangePicker.


First day of week in JavaScript DateRangePicker.

First day of week

Change the first day of the week in every month of a year.


Accessibility

Keyboard navigation in JavaScript DateRangePicker.

Keyboard navigation

The JavaScript DateRangePicker control ensures that every cell is accessible using the keyboard. Major features like sort, select, and edit can be performed using keyboard commands alone; no mouse interaction is required. This helps in creating highly accessible applications using this control.

Accessibility and screen reader support in JavaScript DateRangePicker.

Screen reader

The JavaScript DateRangePicker view has complete WAI-ARIA accessibility support. The DateRangePicker UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.

Show right-to-left language in JavaScript DateRangePicker.

Right to left (RTL)

Right-to-left rendering allows displaying the text and layout of the DateRangePicker from right to left. This improves the user experience and accessibility for RTL languages.





Other supported frameworks

The DateRangePicker component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different DateRangePicker platforms from the links below,

Supported browsers

The JavaScript Date Range Picker works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers of HTML5 Date Range Picker.

85+ JAVASCRIPT UI CONTROLS

Frequently Asked Questions

The Syncfusion JavaScript DateRangePicker provides the following features:

  • An advanced DateRangePicker component with highly customizable options.
  • Provides month range picker option.
  • A rich feature set including spans of days, range restriction, predefined dates (like last 30 days), validation, and automatic formatting takes this component to the next level of usage.
  • One of the best JavaScript DateRangePicker in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with JavaScript DateRangePicker.

We do not sell the JavaScript DateRangePicker separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the JavaScript DateRangePicker. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

You can find our JavaScript DateRangePicker demo, which demonstrates how to render and configure the Date Range Picker.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our JavaScript DateRangePicker, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their DateRangePicker component 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 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists 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, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

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.

Up arrow icon