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!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.