DateTimeOffset getHours¶ Returns the hour for the specified date according to local time 1myDateTimeOffset.getHours():number