Hi There,
i have a date variable in below format how to convert it to ISO 8601 date format
B_date
22AUG19:18:39:28
31AUG19:08:42:53
09SEP19:19:21:23
Hi @Vijay77
Something like this ?
data;
input B_date:datetime16.;
format B_date E8601DT.;
datalines;
22AUG19:18:39:28
31AUG19:08:42:53
09SEP19:19:21:23
;
run;
Hi @Vijay77
Something like this ?
data;
input B_date:datetime16.;
format B_date E8601DT.;
datalines;
22AUG19:18:39:28
31AUG19:08:42:53
09SEP19:19:21:23
;
run;
need to create a new variable C_date and add B_date Values to C_date variable
Hi @Vijay77
Could you please clarify your request by providing sample data and desired output?
Thank you!
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.