Daylight Duration Display Options

Navigation:  ScriptLine Properties > Moon and Sun Options >

Daylight Duration Display Options

Previous pageReturn to chapter overviewNext page

Daylight, Extended Daylight, and Summer Time


The 2 types of daylight length (short and long daylight). Short daylight runs from sunrise to sunset and long daylight from dawn to dusk. These 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 hours of daylight tokens, then you should make sure that you specify the values to be used for the dawn and dusk depression angles.


Sun all day above/below horizon


For locations above 66 degrees north (and below 66 degrees south), there are days of the year when the Sun either never sets (in the summer) or never rises above the horizon (in the winter). To display these times, you can use the [sab] Sun above/below horizon token and specify how you wish this to be displayed using the options below :


Show When

Use this setting to determine when the indications that there is no rise nor setting should appear : Always, on the first day, on the last day, or on both the first and last day, Any day without rise/set.


The text to display as replacement for the [sab] token on days when there is no rise/set. The font used can be set independently for cases when the celestial object does not rise/set because it is below the horizon or because it is above the horizon.

Change Font

Determines if the text used to replace the [sab] token uses a specific font (specified below) or if it should just be plain text displayed in the font of the original token.

Font Name

The font to use to display the text above. This text can also be set independently for cases when the celestial object does not rise/set because it is below the horizon or because it is above the horizon.



A similar set of options exists to indicate that the Moon is always above/below the horizon.

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