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


Previous pageReturn to chapter overviewNext page

int = LunarEclipseOnDate(nDate, nMoonDataSourceIndex)


Calculates the date and time of the lunar 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 180035 updated on 14-Dec-13.
Topic URL: