HI All,
I have dates like 2017-10-05T13:00 in $22 format i want to convert it in to CDISC is860 format how i can...?
You probably have to read it in using one of the ANYDTDTM formats to make it a numeric.
Then, all you have to do is apply the desired format ISO 8601 format
Yes I want to convert it into numeric ,presently it in $20. format I want to present it in E8601DT19.
data _null_;
length x $22 ;
x='2017-10-05T13:00';
value=input(x,e8601dt19.);
put value=datetime19.;
run;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
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.
Ready to level-up your skills? Choose your own adventure.