BookmarkSubscribeRSS Feed
bmh
Calcite | Level 5 bmh
Calcite | Level 5
I am trying to read data from a .csv file. The date is displayed at dd/mm/yyyy hh:mm:ss.

I cannot find a SAS Data/time informat that reads the entire value in as one variable. I can read the date portion in correctly or the time portion, but not the whole thing together...any suggestions?

Thanks
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:

This is not an ODS question; it has more to do with how you read your data and what informat to use for date/timestamped values. Your best bet is to read up in the documentation on the ANYDTDTM informat (there are several "ANY" informats) or to contact Tech Support for specific examples of usage. You can contact Tech Support at:

http://support.sas.com/techsup/contact/submit_emits2.html

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 940 views
  • 0 likes
  • 2 in conversation