Please enable JavaScript to view this site.

 

bool = faBestDayFor(sFunctionName,nDate,nTimeTimesMillion,nMoonSourceIndex)

 

This macro function determines if the good day for function named sFunctionName is true or false, based on the location of the current script's Moon data source of index nMoonSourceIndex, evaluated at the time nTimeTimesMillion of nDate.

 

The time of the day for the calculation is given by nTimeTimesMillion which is the portion of the day expressed in one millionth of a day (less than 1/10th of a second). Traditionally, astrological and astronomical events that are true or false on a date, are evaluated at the end of the day (ie. 23:59:59), which would be done as follows.

nAt2359 = MillionFromHMS(23,59,59// end of the day
nIdxSrcMoon = 1
bIsGoodDay = faBestDayFor(sCurActivity, n_TokenDate, nAt2359, nIdxSrcMoon)

The function name sFunctionName is specific to each client, as each client usually has its own rules for these Moon lore events.

 

See also: MillionFromHMS and Moon Lore.

 

 


Topic 180090, last updated on 18-Apr-2020