Returns the quarter of the year from a SAS date value.
Category: | Date and Time |
Returned data type: | DOUBLE |
specifies any valid expression that represents a SAS date value.
Data type | DOUBLE |
See | <sql-expression> |
FedSQL Expressions |
Statements
|
Results
|
---|---|
select qtr(16983); |
3 |
select qtr(17075); |
4 |