Please enable JavaScript to view this site.


Navigation: Sun Data

The Sun Data Manager and Sun Data Sources

Scroll Prev Up Next More

The Sun Data Manager is used to create and modify sun data sources whose information is used in scripts to display sun tokens.





At the top left of this dialog is the toolbar.


On the left it contains buttons to export sun data to excel and to see the list of scripts which use the currently-selected sun source.

On the right are buttons used to Add, Delete or Modify the source currently selected in the list of sources.


Read-only Sources


Note that the Sun Data Sources that are part of the world holidays sample database are shown in a lighter font, as shown below. these sources cannot be modified, and you should not use them in any of your scripts.



Sun Data Sources


Sun Data Sources are created in the Sun Data Sources Manager and are based on astronomical calculations which use the specifics of an observer's position to calculate when various Sun events will occur as seen from that geographical position.


The Name field is used to identify the Sun data source with a geographical location.



You can use the look-up button on the left to select a city and its Coordinates from the list of 2000 cities. Additional cities and locations can be obtained online.


If you have already created a location for another type of data (lunar, Jewish, Muslim) then you can use the look-up button on the right to clone the coordinates and summer time information from that other location.

Note that time zone and summer times changes occur often in the world and that you should verify the summertime rules obtained from the sample cities.


If a location follows Summer Time rules, then you should always specify its rules here, even if you do not wish to have the sun tokens values affected by changes in summer time.


You can always, for each specific script set the option Ignore Summer Times, even if source uses them in the sun data source property to ignore summer time rules for a given script.


Topic 174720, last updated on 18-Apr-2020