[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] toke 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~_yyyy:mc_|_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~_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 13-Jul-2015.
Topic URL: http://www.qppstudio.net/webhelp/index.html?yyyymc__year_of_parent_minical.htm