Operator Type:
Operator Scope of Action:
Operator Purpose:
Operator First Added:
Operator Altered:
Property [other Property type actions]
Item [operators of similar scope]
Date-time [other Date-time operators]
Baseline
$MyInterval.minute
Returns the Interval expressed as a Number of whole or partial minutes. Note, this does not return the just minutes element of the interval but the entire interval expressed as minutes. Thus, 1 hour 30 minutes and 15 seconds returns 90.25 and not 30.25 or 30.
If $MyInterval is 1 hour, 30 minutes and 15 seconds then:
$MyInterval.minute
returns 90.25
To get an integer value, i.e. whole minutes, use either Number.precision() or floor(), thus:
$MyInterval.minute.precision(0)
returns 90
floor($MyInterval.minute)
returns 90