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!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.