Please enable JavaScript to view this site.

 

bool = IsInCurrentSpread(nDate)

 

This macro function checks if nDate is one of the dates of the 2 page spread containing the incoming macro token.

 

The phrase "one of the dates of the 2 page spread" is actually a check that nDate is larger or equal to the minimum date of the 2 pages and smaller or equal to the maximum date of the 2 page spread.

 

For this function to give accurate results it may be necessary to use DayValue Marker Tokens to ensure that the minimum and maximum dates are unambiguously set.

 

See also: IsInCurrentMonth, IsInCurrentWeek, IsInsideMonth.

 


Topic 151100, last updated on 18-Apr-2020