Writes SAS date values in the form [yy] yyqq. The year appears as 2 or 4 digits, and qq is the quarter of the year.
| Category: | Date and Time |
| Alignment: | Right |
specifies that no separator appear between the year and the quarter.
specifies the width of the output field.
| Default | 4 |
| Note | 6 |
|
Statements
|
Results
|
|---|---|
|
|
----+----1----+ |
select put (19537,yyqz6.); |
201302 |
select put (19537,yyqz4.); |
1302 |