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

Jump to the current version of aTbRef

Tinderbox v9 Icon

Date.second


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

 


$MyDate.second

Returns the 1 or 2 digit seconds for the Date-type attribute specified. Valid range 0-59.

If $MyDate is 25 Oct 1415 15:20:06 then:

$MyNumber = $MyDate.second returns 6

The operator may also be used to set the attribute's month, using a valid figure

$MyDate.second = 24; sets the seconds element of the time to 24