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!
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: