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