Returns the quarter of the year from a SAS date value.
specifies a numeric constant, variable, or expression that represents a SAS date value.
x='20jan94'd; y=qtr(x); put y=;
y=1