Previous Page | Next Page

Formats

QTRw. Format



Writes date values as the quarter of the year.
Category: Date and Time
Alignment: right

Syntax
Syntax Description
Examples
See Also

Syntax

QTRw.

Syntax Description

w

specifies the width of the output field.

Default: 1
Range: 1-32

Examples

The example table uses the input value of 16500, which is the SAS date value that corresponds to March 5, 2005.

SAS Statement Results
 
----+----1
put date qtr.;
1


See Also

Format:

QTRRw. Format

Previous Page | Next Page | Top of Page