calendardate(
calendardate(
DATE
,
BOXNUMBER
)

The calendardate( function helps in creating monthly calendars.

Parameters

This function has two parameters:

date – is any date in the month being displayed.

boxnumber – is the box within the monthly calendar being displayed. The boxes are numbered from 1 to 42, starting with the upper left hand corner. The table below shows the position of all 42 monthly calendar boxes.

Description

The calendardate( function is designed to help in creating monthly calendars. A standard monthly calendar has 6 rows and 7 columns (Sunday through Saturday) for a total of 42 boxes. For any given month from 28 to 31 of these boxes will be valid dates. The calendardate( function calculates what date (if any) corresponds to one of these 42 boxes. The function returns a number representing a date, or zero if the specified calendar box does not contain a day in this month.

The boxes are numbered from 1 to 42, starting with the upper left hand corner. The table below shows the position of all 42 monthly calendar boxes.

    S  M  T  W  T  F  S
    1  2  3  4  5  6  7
    8  9  10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31 32 33 34 35
    36 37 38 39 40 41 42

See Also

- calendarday( -- helps in creating monthly calendars.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0