Chapter Contents

Previous

Next
SASDATEFMT=

SASDATEFMT=



Changes the SAS date or datetime format of a data source column.

Default value: Not set
Option type: Data set only


Syntax
Details
Example: Using SASDATEFMT to convert a date column to a SAS date format
See Also

Syntax

SASDATEFMT=(date-column="SAS-date-format" ...)


Details

For a full description of this option, refer to SASDATEFMT= .


Example: Using SASDATEFMT to convert a date column to a SAS date format

In this example, SAS changes the format of the HIRED column to the SAS DATE9. format for reading the data in SAS.

proc print data=mydblib.payroll
   (sasdatefmt=(hired='DATE9.'));
run;

See Also

SASDATEINFMT=


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.