Date.year

Tinderbox Icon


Operator Type:   Property
Operator Scope of Action:   Item
Operator Purpose:   Date-time

$MyDate.year

Returns the 1 to 4 digit year for the Date-type attribute specified. New to v5.7.0

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


Possible relevant notes (via "Similar Notes" feature):

Up: Item-based operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : Date.year

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox