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.second
Returns the Interval expressed as a Number of whole seconds within the current minute (ignoring whole minutes). Thus, if $MyInterval is 1 hour, 30 minutes and 15 seconds then:
$MyNumber = $MyInterval.minute;
returns 15
Although date-time units are stored as milliseconds under the hood, Tinderbox does not return increments smaller than one second.
Older behaviour
Prior to v8.0.4 it returned not just the seconds element of the interval but the entire interval expressed as seconds. Thus, 30 minutes and 15 seconds returns 1815 and not 15.
If $MyInterval is 30 minutes and 15 seconds then:
$MyNumber = $MyInterval.second;
returns 1815