Great idea. Thank you. But i believe we cannot perform calculations if we combine variables. I tried below similar below but i was unable to perform calculations on the new variable. data test; input calendar_date yymmdd10. calendar_time time.; Combined=catx(' ',put(calendar_date,yymmdd10.), put(calendar_time,time.)); cards; 2017/01/01 01:01:50 2017/01/02 05:06:30 ; run; proc print data=test; format calendar_Date yymmdd10. calendar_time time.; run;
... View more