$calendar.week()
The calendar week of the given calendar.
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| calendar | Business object | The calendar whose calendar week is to be determined. It can be a system or user calendar. | yes |
Type: Number
A number representing the calendar week of the given calendar.
date(2012, 8, 5).toUserCalendar().week()
Output: 36