Epoch Prime JavaScript Calendar Documentation


Epoch Prime is an upgraded version of the Epoch JavaScript Calendar. It is based on the Epoch code, with significant rewrites intended to accomodate advanced new features such as AJAX and XML. While we've made every attempt to ensure backwards-compatibility with the older Epoch versions (1.0.6 and below), there are some differences in the way Epoch Prime is used, including:

  • Introduction of the dates array – holds all notable dates; including holidays, blackout dates, etc
  • selectedDates is now a simple pointer array to dates – containing only the dates that are currently selected
  • Many of the functions that were previously publicly accessible are now private — they cannot be accessed outside of the main Epoch class declaration.

HowTo Guides

Set Up Epoch Prime
A Step-by-step guide on setting up Epoch Prime on your system
Working with dates
Introduction to the dates array and using it to populate your calendar
Working with Popup/DatePicker Mode
Using Epoch Prime as a popup or datepicker control
Using XML and AJAX
Detailed guide to using AJAX to dynamically update and modify Epoch Prime


EpochPrime Reference
The EpochPrime object contains all calendar code – this is the core of Epoch Prime.
CalCell Reference
CalCell holds all the information related to the calendar's date cells
CalHeading Reference
CalHeading is most important in multi-select mode, where it handles the selection/deselection of columns of dates.
WeekHeading Reference
WeekHeading, also important in multi-select mode, handles the selection/deselection of rows of dates
Other Function Reference
These functions perform other important operations, including maintaining browser-compatibility and extending standard JavaScript libraries.
Epoch Prime XML Specification
The XML specification for importing data into Epoch.