Please enable JavaScript to view this site.

 

Navigation: Tokens > MiniCalendar Tokens > Modifiers

Embedded Tokens Weekstart Minicalendar Modifiers

Scroll Prev Up Next More

The Embedded Tokens Week Start minicalendar modifiers specifies that the date of DayValue 1 of any ordinary token inside a minicalendar is equal to the beginning of the week containing the 1st of the month.

 

➢By default, ordinary token inside a mini-calendar are evaluated as if their DayValue 1 corresponded to the 1st day of the month of the mini-calendar.

 

The Embedded Tokens Week Start modifier is:

 

:ws

 

The Embedded Tokens Week Start modifier is often used in combination with GenTokens tokens, to generate multi-month grids where there is no break between the dates of the intermediate months, as in the backtrack every page example below.

 

 

DayValue to use

 

With the :ws modifier, DayValue 1 is the start of the week containing the first of the month and DayValue 8 is safely inside the intended month (not necessarily its first day).

 

Don't forget to use a DayValue of 8 for all the tokens that occur after the mini-calendar marker, otherwise the tokens will refer to the previous month, unless that is the desired effect, as is the case in the above example, where the [GenTokens2] will often start before the 1st of the month.

 

See also: Embedded Tokens DayValue.

 


Topic 175975, last updated on 05-Nov-2026