[yyyy:mc] Year of parent Minicalendar

Navigation:  Tokens > Year Tokens >

[yyyy:mc] Year of parent Minicalendar

Previous pageReturn to chapter overviewNext page

Use the :mc modifier to display the year of the the minicalendar token that encloses the [yyyy] token to which the suffix is added.

 

This can be use, along with a conditional token, to display the year in a minicalendar, but only when the year is different than the year of the minicalendar token (and presumably the year of the current spread),

 

[1mc+00][Mmmm][?yyyy:mc~_yyyy_|_yyyy_|]

 

or to display the year in a minicalendar, but only when the year is different than the year of the current script:

 

[1mc+00][Mmmm][?yyyy:mc~_year_|_yyyy_|]

 

Note that this suffix can only be used inside a minicalendar. If you try to use it in a token that is not inside a minicalendar, then you will get an run-time error message.

 

See also: year of now, year offset, minical year offset modifier.


Topic 180495 updated on 20-Jan-2019.
Topic URL: https://www.qppstudio.net/webhelp_xv4/index.html?yyyymc__year_of_parent_minical.htm