jsCalendar by Tournier Guillaume

Demo

Method Description
destroy() Destroy the calendar.
formattedDate() Returns a string representing the selected date (reset hours & minutes). The format respects the given pattern.
formattedDateTime() Returns a string representing the selected dateTime. The format respects the given pattern.
hide() Hide the calendar.
hours() Return the selected hours [0-23]. Return null if the calendar don't manage time (see pattern).
link(calendar, exclusive) Link 2 calendars together. The end date of the first is the start date to the second ; if exclusive is true, theses 2 dates cannot be the same.
Doesn't work when embedded is true.
minutes() Return the selected minutes [0- 59]. The number is rounded in function of minutesRange. Return null if the calendar don't manage time (see pattern).
month() Return the selected month [0-11].
observe(event, handler) Register an event handler on calendar.
selectedDate() Returns the selected date (reset hours & minutes).
selectedDateTime() Returns the selected dateTime.
show() Show the calendar.
stopObserving(event, handler) Unregister an event handler on calendar.
year() Return the selected year.

Demo

year: month: hours: minutes:

formattedDate:  

formattedDateTime:  

selectedDate:  

selectedDateTime: