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 Calendar control is used to display the date and days of the week or month. It provides month, year, and decade view options to navigate quickly to a desired date. The JavaScript Calendar supports minimum dates, maximum dates, and disabled dates to restrict the date selection.


Why choose Syncfusion Essential Studio® JavaScript Calendar?

Interact easily with JavaScript Calendar.

Easy to interact

The user can be restricted to choosing a date from a predetermined range of dates. Any date in the JavaScript calendar can be disabled to make it inactive.

JavaScript Calendar views.

Calendar views

The JavaScript Calendar has predefined views that provide a flexible approach to navigate back and forth when selecting dates.

JavaScript Calendar islamic calendar.

Islamic calendar

The JavaScript Calendar component lets users show the Islamic calendar(Hijri calendar) in addition to the Gregorian calendar.

Adaptive JavaScript Calendar.

Adapts to any resolution

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

JavaScript Calendar themes.

Attractive, customizable themes

Cutting-edge design with several built-in themes, such as Fluent, Tailwind CSS, Bootstrap, Material, and Fabric. Utilize the online Theme Studio tool to customize themes easily.

JavaScript Calendar globalization.

Globalization and localization

With built-in globalization options,a culture-specific date format and the first day of the week can be chosen. The text of the month, day, and today button can be translated to any supported language.


JavaScript Calendar Code Example

Easily get started with the JavaScript Calendar using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript Calendar Example that shows you how to render and configure a Calendar in JavaScript.

<div class="col-lg-12 control-section">
    <div class="control_wrapper">
        <div id="container" style="overflow:auto">
            <div id="calendar"></div><br/>
            <span id="date_label"> Selected Value: </span>
        </div>
    </div>
</div>
import { loadCultureFiles } from '../common/culture-loader';
import { Calendar, ChangedEventArgs } from '@syncfusion/ej2-calendars';
/**
 * Default Calendar sample
 */
    loadCultureFiles();
    let calendar: Calendar = new Calendar({
        change: valueChange
    });
    calendar.appendTo('#calendar');
    function valueChange(args: ChangedEventArgs): void {
        /*Displays selected date in the label*/
        (<HTMLInputElement>document.getElementById('date_label')).textContent = 'Selected Value: ' + args.value.toLocaleDateString();
    }

Month or year picker

Select only the month or year as a value (month picker or year picker) in the calendar.

Month Year Picker in JavaScript Calendar.


Date selection within a range in JavaScript Calendar.

Date selection within a date range

You can restrict the Calendar control so that only a date value within a specific range of dates can be entered or selected by specifying the minimum and maximum date options.


Multiple date selection

Configure the calendar to allow users to select single or multiple date values (sequence or random date selection).

Multiple Date Selection in JavaScript Calendar.


First Day of Week in JavaScript Calendar.

Change first day of week

Automatically update the first day of the week based on the specified culture or change it based on your application requirements.


Week number

Show the week number of a selected date by enabling the week number option in the JavaScript Calendar.

Week Number in JavaScript Calendar.


Web Accessibility in JavaScript Calendar.

Web accessibility

  • Fully supports WAI-ARIA accessibility guidelines that allow the calendar to be accessed by screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • UsesWCAG 2.0-based design for UI element visuals such as foreground color, background color, line spacing, text, and images.
  • Supports right-to-left (RTL) direction for users working in right-to-left languages like Hebrew and Arabic.

Accessibility

Keyboard navigation in JavaScript Calendar.

Keyboard navigation

The JavaScript Calendar component 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 component.

Accessibility and screen reader support in JavaScript Calendar.

Screen reader

The JavaScript Calendar view has complete WAI-ARIA accessibility support. The Calendar 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 Calendar.

Right to left (RTL)

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





Other supported frameworks

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

Supported browsers

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

Supported browsers in JavaScript Calendar.

85+ JAVASCRIPT UI CONTROLS

Frequently Asked Questions

The JavaScript Calendar with rich set of features offers the following features:

We do not sell the JavaScript Calendar 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 Calendar. 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 Calendar demo, which demonstrates how to render and configure the Calendar.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our JavaScript Calendar, 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 Calendar control 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