Operator Type:
Operator Scope of Action:
Operator Purpose:
Data Type Returned:
Operator First Added:
Operator in Current Baseline:
Operator Last Altered:
Property [other Property type actions]
Item [operators of similar scope]
Date-time [other Date-time operators]
Number [about Number data type]
v6.5.0
Baseline
As at baseline
Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses
Interval.hour()
Interval.hour
Returns the Interval expressed as a Number of whole or partial hours within the current day (ignoring whole days). Thus, if $MyInterval is 12 hours 30 minutes then:
$MyNumber = $MyInterval.hour;
returns 12
.
This operator is read-only and cannot be used to set/edit an Intervals' hour part.
Intervals can also be tested at day, minute or second scope.
See also—notes linking to here: