week
Syntax
$calendar.week()
Description
The calendar week of the given calendar.
Parameters
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 |
Return value
Type: Number
A number representing the calendar week of the given calendar.
Examples
date(2012, 8, 5).toUserCalendar().week()
Output: 36