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


Previous pageReturn to chapter overviewNext page

bool = IsInsideMonth(nDate, nDayValue)


This macro function can be used to determine if n_TokenDate is inside or outside the month 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 garanteed to be within the current month.

Topic 177380 updated on 03-Mar-2005.
Topic URL: