The SAS Output Delivery System and reporting techniques

Date Input Problem

Reply
Occasional Contributor
Posts: 13

Date Input Problem

I would like to know is it possible to change the default date input format because sometimes when I input the data set using Proc Import, SAS would assume the date is in MDY format but actually my data is DMY format. Is there any ways to change the default setting of SAS?

PROC Star
Posts: 7,489

Date Input Problem

options datestyle xxx;

where xxx can be in the form, e.g., of mdy, dmy, ymd or whatever from it is in.

Ask a Question
Discussion stats
  • 1 reply
  • 158 views
  • 4 likes
  • 2 in conversation