[du] [duh] [dum] : Dusk Tokens

Navigation:  Tokens > Astronomical Tokens > Sun >

[du] [duh] [dum] : Dusk Tokens

Previous pageReturn to chapter overviewNext page

The [du] Sun Token displays the time of dusk (the moment of last light, after sunset).


[duh] can be used to display only the hour part of the time.

[dum] can be used to display only the minutes part of the time.


These last 2 tokens can be useful when you wish to display the hours and minutes using different font attributes, as is the case in the sample below :



The source of data used to evaluate Sun Tokens comes from the Sun Data Source property.


If more than one source is selected, you can specify which source to use by appending a digit that corresponds to that source's position in the list of selected sources. For example, if 2 sources were selected, Oslo and Kristiansand, you would use the token [du1] to display dusk in Oslo, and the token [du2] to display dusk for Kristiansand. The suffixes h and m described at the top of this topic can also be used, and are placed between the token and the digit (for example : [duh1] and [dum1]).


The property Sun Options lets you specify how these times are displayed, and lets you specify which of the different solar depression angles should be used to correspond to various definitions of dawn and dusk (Astronomical, nautical, civil, ...).

Topic 174750 updated on 10-Jun-2005.
Topic URL: https://www.qppstudio.net/webhelp_xe3/index.html?ssdusktoken.htm