Tinderbox v10 Icon

Interval.day()


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.day()

Interval.day

Returns the Interval expressed as a Number of whole days. Thus, if $MyInterval is 1day 12 hours 30 minutes then:

$MyNumber = $MyInterval.day; 

returns 1.

If the interval is less than 1 day ( i.e. less than 24 hours), the operator returns a zero value.

This operator is read-only and cannot be used to set/edit an Intervals' day part.

Intervals can also be tested at hour, minute or second scope.


See also—notes linking to here: