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

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]




Returns the Interval expressed as a Number of whole or partial days. Note, this does not return the just days element of the interval but the entire interval expressed as days. Thus, 1 day 12 hours and 30 minutes returns 1.52083 and not 1.5 or 1.

If $MyInterval is 1day 12 hours 30 minutes then:

$ returns 1.52083

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

$ returns 1

floor($ returns 1

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