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


Previous pageReturn to chapter overviewNext page

bool = IsInCurrentWeek(nDate, bUseGridWeekStart)


This macro function returns true if the nDate is in the same week as n_TokenDate (the date of the macro token that is being evaluated), and false otherwise.


If bUseGridWeekStart is true then the week test will be based on the weekstart defined in the current DiaryGridLine's GridOptions property. Otherwise, weeks will be assumed to start on Mondays. This parameter has no effect if you grid's weekstart is Monday.

Topic 150900 updated on 01-Nov-2016.
Topic URL: