Returns the quarter of the year from a SAS date value.
specifies any valid expression that represents a SAS date value.
select qtr(16983);
3
select qtr(17075);
4