DAYw. Format

Writes date values as the day of the month.

Category: Date and Time
Alignment: Right

Syntax

DAYw.

Syntax Description

w

specifies the width of the output field.

Default 2
Range 2–32

Example

The example table uses the input value of 19158, which is the SAS date value that corresponds to June 14, 2012.
SAS Statement
Result
----+
put date day2.;
14