Please enable JavaScript to view this site.


Navigation: Tokens > MiniCalendar Tokens > Modifiers

Minicalendar Year Offset Modifiers

Scroll Prev Up Next More

The Year Offset minicalendar modifiers are used to shift the reference year of a minicalendar by one or more years in the past or future.


The year offset modifier is of the form


:y+YY   or   :y-YY


where YY represents the numerical offset running from 1 to 99.


For example, the token [8mc001:y-1] will display the 1st month (January) of the year that precedes the date of the token (based on DayValue 8).



Usually the order in which the calculation is made is not important, but in cases where the order makes a difference, then the calculation of the month to be displayed is done first using the usual marker ( 001 in the above example) to obtain January of the token's year, and then 1 year is subtracted.


See also: other minicalendar modifiers and date offset suffixes.


Topic 176285, last updated on 30-Oct-2021