DateInterval.Hours

From Xojo Documentation

Property (As Integer )
aDateInterval.Hours = newIntegerValue
or
IntegerValue = aDateInterval.Hours

New in 2019r2

Supported for all project types and targets.

The number of hours in the interval.