|Functions and CALL Routines
Returns the quarter of the year from a SAS date value.
specifies a numeric constant, variable,
or expression that represents a SAS date value.
The QTR function returns a value of 1,
2, 3, or 4 from a SAS date value to indicate the quarter of the year in which
a date value falls.
The following SAS statements produce these results.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.