Skip to content

GetHoursInDay

Returns the total number of hours in the specified date.

1
myCalendar.GetHoursInDay(date: [DateTimeOffset](./../DateTimeOffset/index.md)):number

Parameters

DateTimeOffset date
    The target DateTimeOffset value.

Returns

The total number of hours in the specified date.