Day Tokens

Navigation:  Tokens >

Day Tokens

Previous pageReturn to chapter overviewNext page

Day tokens are used to display either the weekday name, or part of, or the date number.

 

Below is a chart of the main tokens used to display day 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

Day of the month

[d]

1 à 31

 

[dd]

01 à 31

Always with 2 digits.

Partial Weekday

[D]

M, T, W, T, F, S, S

First letter only

[Dd]

onday, uesday, ednesday, hursday, riday, aturday, unday

Rest of the name, lowercase.

[DD]

ONDAY, UESDAY, EDNESDAY, HURSDAY, RIDAY, ATURDAY, UNDAY

Rest of the name, uppercase.

Abbreviated Weekday

[ddd]

mon à sun

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

[Ddd]

Mon à Sun

First letter in uppercase.

[DDD]

MON à SUN

All in uppercase.

Weekday Name

[dddd]

monday à sunday

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

[Dddd]

Monday à Sunday

First letter in uppercase.

[DDDD]

MONDAY à SUNDAY

All in uppercase.

Weekday Number

[d#]

1 à  7

Monday=1 and Sunday=7.

Day Counting

[t+]

1 à  366

Counting up.

[T+]

001 à  366

Counting up, always 3 digits.

[t-]

365 à  0

Counting down.

[T-]

365 à  000

Counting down, always 3 digits.

German Zinstage (tax days)

[tz+] [tz-]

1à360 and 359à1

For more details, see German Zinstage.

German Working Days in Month Count

[tAT]

18 à 23

Number of working days (Monday to Friday) in the current month, minus the number of national German public holidays in that same month.

[tAt]

18 à 23

Same as above, minus the number of regional public holidays observed by at least one German state (Land) in that same month.

[tat]

18 à 23

Same as above minus the occurrence of the Peace Day (Friedensfast) municipal public holiday in Augsburg.

Norwegian Rente Dager (tax days)

[tr+] [tr-]

1à360 and 359à1

For more details, see Norwegian Rente Dager.

Day Number Ordinal

[.d]

st, nd, rd, th, ...

Short ordinal.

[!d]

First, Second, Third, Fourth, ...

Full ordinal.

 

Beyond their obvious use in the construction of diary grids, day tokens are also very important since they are used by Q++ to guess which DayValues occur on which page of multi-page GridTemplates.


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