Please enable JavaScript to view this site.

 

Navigation: Tokens > MiniCalendar Tokens > Modifiers

Minicalendars with Fixed Ranges of 3, 6 and 12 months

Scroll Prev Up Next More

The Fixed Range of Months minicalendar modifiers are used with absolute offset minicalendars, to display a fixed range of months which depends on the date of the minicalendar token (for example always show the 3 months of the current trimester, for all dates of that trimester).

 

The 3 possible Fixed Range of Months minicalendar modifiers are :mod3, :mod6 and :mod12.

 

Modifier

Allowed Combinations

Behavior

:mod3

[mc001:mod3]

to

[mc003:mod3]

The :mod3 modifier will restrict the months being displayed to the current quarter (ie. Jan-Mar or Apr-Jun or Jul-Sep or Oct-Dec), with 001 showing the first month of the quarter (Jan or Apr or Jul or Oct), 002 showing the second month of the quarter (Feb or May or Aug or Nov), and 003 showing the last month of the quarter (Mar or Jun or Sep or Dec).

 

So, for example, for the token [4mc001:mod3], if the date of DayValue 4 is in January, then this minicalendar will show the first month of the current quarter; January. If the date of DayValue 4 is in December, then this minicalendar will show the first month of the current quarter; October.

:mod6

[mc001:mod6]

to

[mc006:mod6]

The :mod6 modifier will restrict the months being displayed to the current semester (ie. January-June or July-December). The months obtained from the 001-006 markers follow the same pattern as that used for the :mod3 modifier, except that the fixed range is now a semester, rather than a quarter.

:mod12

[mc001:mod12]

to

[mc012:mod12]

The :mod12 modifier behaves slightly differently than might be expected, based on the 2 above cases.

 

Modifier

DayValue Date

Range of Months

[mc001:mod12]

to

[mc006:mod12]

January 1

to

June 30

January to June

(current year)

July 1

to

December 31

July to December

(current year)

[mc007:mod12]

to

[mc012:mod12]

January 1

to

June 30

July to December

(current year)

July 1

to

December 31

January to June

(following year)

 

The :mod12 modifier is often used to show 6 months on the left page and 6 months on the right page, with the 6 months of each page always being Jan-Jun or Jul-Dec, depending on the current date.

 

Note that these modifiers only work with absolute offset minicalendars, using the allowed combinations specified above.

 

See also: other minicalendar modifiers.

 


Topic 178170, last updated on 17-Apr-2020