Sun Times Display Options

Navigation:  ScriptLine Properties > Moon and Sun Options >

Sun Times Display Options

Previous pageReturn to chapter overviewNext page

Each of the 4 possible sun events times (dawn, sunrise, sunset, dusk) can be displayed using the following options :



The format in which to display the times obtained. A few pre-formatted selections are available, and you can create your own. This formatting is described in the topic Time Formatting. You should generally avoid using any formatting string that contains characters that refer to Windows global variables, since these can change on each workstation.

Round to Nearest Minute

Use this option to round off times to the nearest minute. For example, suppose we had the 2 following times : 07:33:13 and 17:24:43. With this option turned OFF, these times would be displayed as 07:33 and 17:24. However, if this option is turned ON, then these 2 times would be displayed as 07:33 and 17:24 (note how the 17:24 was rounded up to 17:25).


This setting lets you specify that minutes should be displayed with different attributes than the original token (hence than the hours). Usually this setting is used to display the minutes in a smaller size font than the hours.

If no time, display

In extreme lattitudes (north of 66 degrees, or south of 66 degrees) there are days when no dawn, sunrise, sunset or dusk occurs. This option allows you to specify what text to use to represent these non-times (for example --:--).


Sample output showing the effect of the format selected above on a time before noon and a time after noon.



If you plan to use dawn and dusk tokens, then you should make sure that you specify the values to be used for the dawn and dusk depression angles.

Topic 174775 updated on 24-Apr-2016.
Topic URL: