Month Tokens

Navigation:  Tokens >

Month Tokens

Previous pageReturn to chapter overviewNext page

Month tokens are used to display some aspect of the month corresponding to a token's date (as specified by their DayValue).

 

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.

 

Note that:

 

The tokens in the table above 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).

 

See also: German working days in month tokens and less frequently used month tokens in the next topics.

.


Topic 103 updated on 19-Jan-2019.
Topic URL: https://www.qppstudio.net/webhelp_xe3/index.html?monthtokens.htm