Hi, I have one dataset like
id date ex: id date
1 13 1 13Oct2011
2 14 2 14Oct2011
3 15 3 15Oct2011 --->this is the current date
here i want date format like 13Oct2011,14Oct2011 how we can
modify the numeric to date format plz answer.

Answer Posted / ramesh

data inter3;
input id 1-2 dat ;
cards;
1 13
2 14
3 15
;
run;

data inter4;
set inter3;
format dat1 date9.;
dat1=dat;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you delete duplicate observations in sas?

571


why is a stop statement needed for the point=option on a set statement? : Sas programming

583


How do dates work in sas?

639


What are the statements that are executed only?

672


How can sas program be validated?

575






What is the difference between nodupkey and nodup options?

591


How long can a macro variable be? A token? : sas-macro

715


What is PROC in SAS?

602


what is the difference between nodup and nodupkey options? : Sas programming

617


what is sas metadata repository? : Sas-bi

597


What do the put and input function do?

583


what is program data vector? : Sas-administrator

612


Define run-group processing?

579


AE datasets names? how many types?

2072


What is by-group processing?

574