Tinderbox v9 Icon

Interval.minute


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 within the current hour (ignoring whole hours). Thus, if $MyInterval is 1 hour, 30 minutes and 15 seconds then:

$MyNumber = $MyInterval.minute; 

returns 30

If $MyInterval is 1 hour, 30 minutes and 15 seconds then:

$MyNumber = $MyInterval.minute 

returns 90.25

To get an integer value, i.e. whole minutes, use either Number.precision() or floor(), thus:

$MyNumber = $MyInterval.minute.precision(0); 

returns 90

$MyNumber = floor($MyInterval.minute); 

returns 90