Month Tokens

Navigation:  Tokens >

Month Tokens

Previous pageReturn to chapter overviewNext page

Month tokens are used to display information about the month corresponding to the date of a token.

 

Below is a chart of the main tokens used to display month information, and some links to topics with additional information. Note that:

 

The tokens in the table below refer to dates of the Gregorian calendar (ie. the standard Western calendar). There are also tokens that allow you to display dates based on the Chinese, Jewish, Korean, Muslim and Orthodox calendars.

Values that are language dependent, are displayed below using the most commonly used English translation. The actual results that you will get will depend on the language selected, and the translation specified in the Tokens and Translations Manager).

 

Additional, less frequently used, tokens are described in the next topics.

 

Name

Token

Values *

Description

Month Number

[m]

1 à 12

 

[mm]

01 à 12

Always with 2 digits.

Number of Days in Month

[m#]

28 à 31


Month Counting

[my+]

1 à 12

Month of the year. This token gives the exact same result as the [m] token, above.

[my-]

11 à 0

Months remaining in the year.

Partial Month Name

[M]

J, F, M, ..., O, N, D

First letter only

[Mm]

anuary, ebruary, arch, ..., ctober, ovember, ecember

Rest of the name, lowercase.

[MM]

ANUARY, EBRUARY, ARCH, ..., CTOBER, OVEMBER, ECEMBER

Rest of the name, uppercase.

Abbreviated Month Name

[mmm]

jan à dec

No change in case with respect to its value in the translation table.

[Mmm]

Jan à Dec

First letter in uppercase.

[MMM]

JAN à DEC

All in uppercase.

Month Name

[mmmm]

january à december

No change in case with respect to its value in the translation table.

[Mmmm]

January à December

First letter in uppercase.

[MMMM]

JANUARY à DECEMBER

All in uppercase.

Month Number Ordinal

[.m]

st, nd, rd, th, ...

Short ordinal.

[!m]

First, Second, Third, Fourth, ...

Full ordinal.

 

See also: [tAT], [tAt], and [Tat] : German Working days in Month.


Topic 103 updated on 17-Jul-2017.
Topic URL: http://www.qppstudio.net/webhelp/index.html?monthtokens.htm