Chapter Contents |
Previous |
Next |
MMDDYYw. |
Category: | Date and Time |
Alignment: | right |
Syntax | |
Syntax Description | |
Details | |
Examples | |
See Also |
Syntax |
MMDDYYw. |
Default: | 8 |
Range: | 2-10 |
Details |
The MMDDYYw. format writes SAS date values in the form mmddyy or mmddyyyy, where
Examples |
The example table uses the input value of 15595, which is the SAS date value that corresponds to September 12, 2002.
SAS Statements | Results |
---|---|
----+----1----+ |
|
put day mmddyy2.; |
09 |
put day mmddyy3.; |
09 |
put day mmddyy4.; |
0912 |
put day mmddyy5.; |
09/12 |
put day mmddyy6.; |
091202 |
put day mmddyy7.; |
091202 |
put day mmddyy8.; |
09/12/02 |
put day mmddyy10.; |
09/12/2002 |
See Also |
Formats:
| |||||||||
Functions:
| |||||||||
Informats:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.