QTRw. Format

Writes SAS date values as the quarter of the year.

Category: Date and Time
Alignment: Right

Syntax

QTRw.

Arguments

w

specifies the width of the output field.

Default 1
Range 1–32

Example

The example table uses the input value of 19431, which is the SAS date value that corresponds to March 14, 2013.
Statements
Results
 
----+----1
select put(19431,qtr.);
1