Skip to content

GetHoursInDay

Returns the total number of hours in the specified date.

1
myCalendar.GetHoursInDay(date: DateTimeOffset):number

Parameters

DateTimeOffset date
    The target DateTimeOffset value.

Returns

The total number of hours in the specified date.