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 1 to 4 digit year for the Date-type attribute specified.

If $MyDate is 25 Oct 1415 16:20 then:

$MyDate.year returns 1415

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

$MyDate.year = 1805 sets the year to 1805

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