dayOfYear
Syntax
$calendar.dayOfYear()
Description
The day of the year of the given calendar.
Parameters
Name | Type | Description | Mandatory | Default |
---|---|---|---|---|
calendar | Business object | The calendar whose day of the year is to be determined. It can be a system or user calendar. | yes |
Return value
Type: Number
A number representing the day of the year of the given calendar.
Examples
date(2012, 8, 15).toUserCalendar().dayOfYear()
Output: 258