The SAS Output Delivery System and reporting techniques

Datetime informats

Reply
bmh
N/A
Posts: 1

Datetime informats

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
SAS Super FREQ
Posts: 8,862

Re: Datetime informats

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
Ask a Question
Discussion stats
  • 1 reply
  • 129 views
  • 0 likes
  • 2 in conversation