month Function

Function:

Returns the month for a given day number.

Syntax:

month(daycount as word) as pl_months

Returns:

One of pl_months constants:

1 — PL_MONTH_JANUARY: January.

2 — PL_MONTH_FEBRUARY: February.

3 — PL_MONTH_MARCH: March.

4 — PL_MONTH_APRIL: April.

5 — PL_MONTH_MAY: May.

6 — PL_MONTH_JUNE: June.

7 — PL_MONTH_JULY: July.

8 — PL_MONTH_AUGUST: August.

9 — PL_MONTH_SEPTEMBER: September.

10 — PL_MONTH_OCTOBER: October.

11 — PL_MONTH_NOVEMBER: November.

12 — PL_MONTH_DECEMBER: December.

See Also:

year, date, weekday, daycount, hours, minutes, mincount