QTRw. Format

Writes date values as the quarter of the year.

Category: Date and Time
Alignment: Right

Syntax

QTRw.

Syntax Description

w

specifies the width of the output field.

Default 1
Range 1–32

Example

The example table uses the input value of 19057, which is the SAS date value that corresponds to March 5, 2012.
SAS Statement
Result
 
----+----1
put date qtr.;
1

See Also

Formats: