Please enable JavaScript to view this site.

 

int = QuarterOf(nDate)

 

This macro function returns the quarter/trimester number, from 1 to 4, of the date nDate.

bSecondHalfOfYear = (QuarterOf(n_TokenDate) in [3,4])

This is the function used internally to evaluate the [q] token.

 

See also: DayOf, WeekdayOf, WeekNumberOf, YearOf.

 


Topic 105066, last updated on 18-Apr-2020