BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Osebeyo
Fluorite | Level 6

Hi,

Can anyone please help me with this query, i have tried as much as I could but just don't know what is wrong.

I used the Proc Import to import a text file, but the SAS date doesn't match up with the text file date.

The text file datetime is in this form: MMDDYY HH:MM:SS, while SAS returns DDMMMYY HH:MM:SS

e.g

05-02-2011-00:00:00 was changed to 05Feb2011:00:00:00 instead of 02May2011:00:00:00

Can you help please:smileyconfused:

1 ACCEPTED SOLUTION

Accepted Solutions
art297
Opal | Level 21

Have you tried preceding your proc import with:

options datestyle DMY;

Art

View solution in original post

1 REPLY 1
art297
Opal | Level 21

Have you tried preceding your proc import with:

options datestyle DMY;

Art

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1261 views
  • 1 like
  • 2 in conversation