JalaliJSCalendar

JalaliJSCalendar is a JavaScript date-picker and calendar widget based on "Dynarch DHTML Calendar" from Mihai Bazon. The main difference between two is that JalaliJSCalendar supports Persian (AKA Hijri Shamsi) calendar too, which is the official Iranian calendar.

JalaliJSCalendar is free and open source and released under the terms of GPL (GNU General Public License).

Dynamic Demo

Supported Browsers

How to use it?

Download it from here.
Then use it like this:

<link rel="stylesheet" href="jalalijscalendar/skins/aqua/theme.css">
<script src="jalalijscalendar/jalali.js"></script>
<script src="jalalijscalendar/calendar.js"></script>
<script src="jalalijscalendar/calendar-setup.js"></script>
<script src="jalalijscalendar/lang/calendar-fa.js"></script>

<input id="date_input" type="text"><input id="date_btn" type="button">
<script>
Calendar.setup({
	inputField: 'date_input',
	button: 'date_btn',
	ifFormat: '%Y/%m/%d',
	dateType: 'jalali'
});
</script>

For more usage examples see the example files bundled with the package.