Please enable JavaScript to view this site.

 

Navigation: Tokens > Month Tokens

[sMMMMyyyy] Conditional Month and Year Tokens

Scroll Prev Up Next More

You can combine a conditional month token [sMMMM] and a conditional year token [syyyy], for example, to get the following:

 

 [sMMMMyyyy]

 

The above token is the equivalent of [sMMMM] [syyyy], but its advantage is that if you use it with a token filler, then that filler applies to the combination of the 2 tokens, not to each individual token. This is useful if inside the token filler, you are placing a line return, so that you do not want to have 2 of these when the year changes.

 

See also: conditional month tokens and, more generally, conditional tokens.

 


Topic 178060, last updated on 17-Apr-2020