Please enable JavaScript to view this site.

 

Navigation: Tokens

Year Tokens

Scroll Prev Up Next More

Year tokens are used to display some aspect of the year corresponding to a token's date (as specified by their DayValue).

 

Name

Token

Values *

Description

Year Number

[yy]

..., 99, 00, 01, ...

2-digit year

[yyyy]

... 1999, 2000, 2001, ...

4-digit year

Script Year

[year]

... 1999, 2000, 2001, ...

Value of the year, with 4 digits, as specified in the Year Property of the current script.

Change of Year

[Yy]

[YYyy]

..., 99, 00, 01, ...

... 1999, 2000, 2001, ...

 

(only visible in January)

2-digit and 4-digit year, similar to the [yy] and [yyyy] tokens above, except that these tokens only appear in the month of January (they are blank in any other month).

[yY]

[yyYY]

..., 99, 00, 01, ...

... 1999, 2000, 2001, ...

 

(only visible in December)

2-digit and 4-digit year, similar to the [yy] and [yyyy] tokens above, except that these tokens only appear in the month of December (they are blank in any other month).

[YY]

[YYYY]

..., 99, 00, 01, ...

... 1999, 2000, 2001, ...

 

(only visible in January and in December)

2-digit and 4-digit year, similar to the [yy] and [yyyy] tokens above, except that these tokens only appear in the months of January and December (they are blank in any other month).

Year Offset

[yyyy:+xx]

 

the year of the current token's date, offset by xx years

Year of Now

[yyyy:now]

 

the year of now (system date)

Year of parent MiniCalendar

[yyyy:mc]

 

the year of the DayValue of the Minicalendar that contains the current token

 

Note that:

 

The tokens in the table above refer to dates of the Gregorian calendar (ie. the standard Western calendar). There are also tokens that allow you to display dates based on the Chinese, Jewish, Korean, Muslim and Orthodox calendars.

Values that are language dependent, are displayed below using the most commonly used English translation. The actual results that you will get will depend on the language selected, and the translation specified in the tokens and translations manager).

 

Additional, less frequently used, tokens are described in the next topics.