The JavaScript Calendar is a control to display the date and days of the week. It provides month, year, and decade view options to quickly navigate to the desired date. It supports minimum dates, maximum dates, and disabled dates to restrict the date selection.
Select only the month or year as a value (month picker or year picker) in the calendar.
You can restrict the JavaScript 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.
Configure the calendar to allow users to select single or multiple date values (sequence or random date selection).
Update the culture-specific date format and first day of the week, and translate the text of month, day,and today buttons to any supported language with built-in globalization features in JavaScript calendar library.
Automatically update the first day of the week based on the specified culture or change it based on your application requirements.
Disable any date in the JavaScript Event Calendar scheduler to make it inactive. Easily prevent the selection of weekends and holidays by disabling them.
Apart from the standard, built-in theme, the Calendar in JavaScript provides complete control over its appearance, allowing you to customize the style to suit your application.
Highlight any date in a year or every weekend in a month as special days using the Calendar in JavaScript custom styling.
Show the week number of a selected date in the JavaScript Calendar component by enabling the week number option.
In addition to the Gregorian calendar, the JavaScript Event Calendar control supports displaying the Islamic calendar (Hijri calendar).
You have complete control over all the UI elements and their behaviors with a rich set of developer-friendly APIs, allowing you to provide the best experience to your end users.
The JavaScript Event Calendar with rich UI 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 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();
}
Calendar component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different Calendar platforms from the links below,
The Syncfusion JavaScript Calendar provides the following features:
We do not sell the JavaScript Calendar separately. It is only available for purchase as part of the Syncfusion JavaScript suite, which contains over 80 JavaScript components, including the Calendar. 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 Calendar demo here.
No, our 80+ JavaScript components, including Calendar, 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 Calendar 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.