Writes date values in the form mmdd<yy>yy or mm/dd/<yy>yy, where a forward slash is the separator and the year appears as either 2 or 4 digits.

Category: | Date and Time |

Alignment: | Right |

MMDDYYw.

The following examples
use the input value of 19291, which is the SAS date value that corresponds
to October 25, 2012.

Functions:

DAY Function in SAS Functions and CALL Routines: Reference

MDY Function in SAS Functions and CALL Routines: Reference

MONTH Function in SAS Functions and CALL Routines: Reference

YEAR Function in SAS Functions and CALL Routines: Reference

Copyright © SAS Institute Inc. All rights reserved.