Please enable JavaScript to view this site.

 

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 = IsInsideMonth(n_TokenDate, n_TokenDayValue)

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 10-Oct-2026