Returns the quarter and year in which a date occurs.
Usage
Quarter(date)
Arguments
date
A vector convertible to POSIXlt. A
Date or character is fine.
Value
A numeric vector identifying the quarter that each element of
date corresponds to, expressed as a number of years since 1900.
Thus Q1-2000 is 100.00, and Q3-2007 is 107.50.