This version is out of date, covering development from v6.0.0 to v6.6.5. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

TinderboxSix 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]

 6.5.0

 


$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



A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : Interval.minute