Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A full day, week, and resource calendar for use with jQuery.
JavaScript HTML CSS
Branch: master

Merge pull request #37 from jarrettchisholm/master_teamdf_undefined_e…


- removed some code that was throwing an exception ('date' is undefined)...
latest commit f743ebeac0
@samatcd samatcd authored


jQuery Calendar Plugin

By Sam Sehnert, Digital Fusion 2012

This is a jQuery plugin which allows developers to implement an extremely flexible calendar interface with minimal up front development. The calendar plugin can render a Day, Week, Month and Resource calendar view.


The Demos for this plugin live under the examples/ directory. Open them directly in your web browser, or view the following online example:


Basic calendar instance

The calendar method can be used to create a calendar widget which will allow users to graphically see and optionally edit events. The calendar leaves data implementation up to the developer. Developers can feed event data to the calendar using a standard object notation.


The target element must be a relative or absolute positioned block level element of your choice (a <div /> would be a typical choice).

You simply specify a relative or absolutely positioned parent element, and the plugin will generate the required HTML within that element.

<div id="myCalendar"></div>

Extended Date/Time powers

The calendar plugin includes its own date and time formatting methods (using PHP style masking).

$.cal.format( new Date(), 'Y-m-d H:i:s' );

You can also perform complicated date/time arithmetic using the built in date object extender (see the full plugin documentation for more details).

var myDate = $ '2012-01-01 08:00:00' );
myDate.addHours(1.5).format('D, jS F Y, G:i a');

// Returns 'Sun, 1st January 2012, 9:30 am'

Full plugin documentation

The Documentation for this plugin lives under the docs/ directory. Open it directly in your web browser, or see the online documentation.


Copyright 2012, Digital Fusion, Released under the MIT license.

Something went wrong with that request. Please try again.