|
Tokens > Day Tokens |
|
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 |
[d] |
1 à 31 |
|
|
[dd] |
01 à 31 |
Always with 2 digits. |
|
[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. |
|
[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. |
|
[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. |
|
[d#] |
1 à 7 |
Monday=1 and Sunday=7. |
|
[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. |
|
[.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 000079 updated on 20-May-06 Topic URL: http://www.qppsupport.net/webhelp/index.html?daytokens.htm |