Fiscal quarters are a way of dividing the year into
fourths. The first quarter (Q1) comprises January,
February and March; the second quarter (Q2) comprises
April, May, June; the third quarter (Q3) comprises July,
August, September; the fourth quarter (Q4) October,
November, December.
Usage
quarter(x)
Arguments
x
a date-time object of class POSIXct, POSIXlt,
Date, chron, yearmon, yearqtr, zoo, zooreg, timeDate,
xts, its, ti, jul, timeSeries, fts or anything else that
can be converted with as.POSIXlt
Value
numeric the fiscal quarter that the date-time occurs in