Purpose:
Returns the quarter of the year (1..4)
Parameter:
Date
Boolean (optional) sets whether the quarter calculation should be returned relative to the year (1..4) or in absolute terms since 1.1.0001 (1..). Default: False (relative).
Return value:
Number
Example:
Str$(Quarter(Date("01.01.2008")),0,0) Result: 1
Str$(Quarter(Date("01.05.2008")),0,0) Result: 2
Str$(Quarter(Date("01.05.2008"),.T.),0,0) Result: 8030