month

Syntax

	$calendar.month()

Description

The month of the given calendar.

Parameters

Name Type Description Mandatory Default
calendar Business object The calendar whose month is to be determined. It can be a system or user calendar. yes

Return value

Type: Number

A number representing the month of the given calendar.

Examples

Note: The output may differ depending on the calendar's time zone.

	date(2012, 8, 5).toSystemCalendar().month()

Output: 8