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!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.