Navigation:  Macros > Macro Language > Built-in Functions > All Functions (Alphabetical) >


Previous pageReturn to chapter overviewNext page

int = SolarEclipseOnDate(nDate, nSunDataSourceIndex)


Calculates the date and time of the solar eclipse, as seen from any location on Earth.


This macro function returns a value of -1 if there is no eclipse on nDate, otherwise this function returns the time of the day, as a fraction from 0 (the beginning of the day to 1000000 (at midnight at the end of the day). As there are about 85000 seconds in a day, the division of the day into 1 million results in a precision of about 1/10th of a second.

Topic 180030 updated on 15-May-16.
Topic URL: