[D], [Dd] and [DD] : Partial Weekday

Navigation:  Tokens > Day Tokens >

[D], [Dd] and [DD] : Partial Weekday

Previous pageReturn to chapter overviewNext page

Use these tokens when you wish to have different type attributes for the first letter of a weekday.


The token [D] gives you the first letter of the weekday, and [Dd] and [DD] give you all the other letters.


By default, all these tokens are based on the values you set for the [dddd] token. If you wish to have [D] converted independently of the values of [dddd], then set a translation for [D] in the Tokens Manager.


By default, [D] is replaced by the uppercase version of the first letter of the [dddd] or [D] translation value. If you wish the [D] token to convert to lowercase, use the corresponding GridOption.


To base the conversion of either of the present tokens on the value of the [ddd] token rather than the [dddd] token, append the :sh modifier to the end of the token. For example : [Dd:sh] and [DD:sh]. The use of [D:sh] is also possible, but it is rarely used, except for languages where the first letter of the weekday names differs from the short to the full version of the name (an example is Catalan).


On Tuesday October 12th 1998 :


[D] = T

[Dd] = uesday



Note :


Tokens are case-sensitive. The tokens [d] and [D] are totally different.

The tokens of the form [!DD] are very different from the tokens of the form [DD].

Topic 97 updated on 31-Mar-2004.
Topic URL: https://www.qppstudio.net/webhelp/index.html?_d___dd_and_dd__partialweekday.htm