DOWNAMEw. Format

Writes SAS date values as the name of the day of the week.

Category: Date and Time
Alignment: Right

Syntax

DOWNAMEw.

Arguments

w

specifies the width of the output field.

Default 9
Range 1–32
Tip If you omit w, SAS prints the entire name of the day.

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,downame.); 
Monday
Last updated: February 23, 2017