bool = IsInsideMonth(nDate,nDayValue)
This macro function checks if a token of nDate and nDayValue (usually corresponding to n_TokenDate and n_TokenDayValue) is inside the month of a monthly grid.
➢This function should only be used in a monthly grid.
bIsInsideMonth = IsInCurrentMonth(n_TokenDate - (n_TokenDayValue mod 42) + 8)
Internally, this function makes use of the fact that in a monthly diary, the 8th day of any block of 42 days is always guaranteed to be within the current month.
See also: IsInCurrentMonth, IsInCurrentSpread and IsInCurrentWeek.
Topic 177380, last updated on 19-Apr-2020