$calendar.day()
The day of the given calendar.
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| calendar | Business object | The calendar whose day is to be determined. It can be a system or user calendar. | yes |
Type: Number
A number representing the day of the given calendar.
Note: The output may differ depending on the calendar's time zone.
date(2012, 8, 5).toSystemCalendar().day()
Output: 5