Please enable JavaScript to view this site.

 

bool = IsInCurrentWeek(nDate,bUseGridWeekStart)

 

This macro function checks if nDate is in the same week as n_TokenDate (the date of the incoming macro token).

 

If the incoming macro token is inside a minicalendar, then month and year of nDate will be compared to those for the date of the parent minicalendar token.

 

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.

 

See also: IsInCurrentMonth.

 


Topic 150900, last updated on 01-Aug-2020