DAYw. Format

Writes SAS date values as the day of the month.

Category: Date and Time
Alignment: Right

Syntax

DAYw.

Arguments

w

specifies the width of the output field.

Default 2
Range 2–32

Example

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

See Also

Formats:
Functions:
Last updated: February 23, 2017