[SR] [SRh] [SRm] : Sunrise Tokens

Navigation:  Tokens > Astronomical Tokens > Sun >

[SR] [SRh] [SRm] : Sunrise Tokens

Previous pageReturn to chapter overviewNext page

The [SR] Sun Token displays the time of sunrise.


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

[SRm] 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 [SR1] to display sunrise in Oslo, and the token [SR2] to display sunrise 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 : [SRh1] and [SRm1]).


The property Sun Options lets you specify how these times are displayed.

Topic 174740 updated on 26-Jul-2003.
Topic URL: https://www.qppstudio.net/webhelp/index.html?srsunrisetoken.htm