SAS convert string into datetime
12,192
The DATETIME informat will read that string
new_var=input(datestring,datetime24.);
format new_var datetime24.;
Author by
statquant
Updated on June 04, 2022Comments
-
statquant almost 2 years
I have a column in a table of string representing datetime like
"01-Oct-2012 12:23:43.324"
how can I cast this in a SASdatetime
?