Year Tokens

Navigation:  Tokens >

Year Tokens

Previous pageReturn to chapter overviewNext page

Year tokens are used to display information about the year corresponding to the date of a token.

 

Below is a chart of the main tokens used to display month information, and some links to topics with additional information. Note that:

 

The tokens in the table below 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.

 

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).


Topic 113 updated on 17-Jul-2017.
Topic URL: http://www.qppstudio.net/webhelp/index.html?yeartokens.htm