Question { Accenture, 9576 }
hi i date is 05sep2005; i want the oupput like
05sep2005:00:00:00 ; how it wil come?
Answer
data date1;
Date='05sep2005'd;
DateTime=dhms(Date,0,0,0);
put DateTime datetime21.;
format datetime datetime21. date date9.;
run;
second method;
data asd1;
date='05sep2005';
time='00.00.00';
datetime=date||':'||time;
run;