|Thanks very much for this great little class - very useful, flexible, fast and works with Firefox, Safari, and IE 6 and 8! (haven't tested IE7)|
To create new calendar use function (after including the main class): CreateCalendar($date_initial,$name,$link_back,$link_next,$date_format="2")
$date_initial = the day that the calendar will default to when first viewed
$name = the name that the generated form will be given
$link_back = the date from which days will be linkable (all days after this date up to $link_next will be clickable)
$link_next = the date to which days will be linkable (all days before this date and after $link_next will be clickable)
$date_format="2" = the order that the date in numeric form will be printed. By default the format is English dd/mm/yyyy. Setting it to 1 will result in format mm/dd/yyyy
Hope that you found this useful!