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 / kiran

data dsn;
input id date;
format date date9.;
cards;
1 13
2 14
3 15
;
run;

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

602


What is SAS?

628


Explain the purpose of retain statement.

611


What do you code to create a macro? : sas-macro

590


explain the difference between proc means and proc summary?

675






Differentiate input and infile.

602


Mention what is PROC in SAS?

605


What is substr function?

628


Explain the use of proc gplot? : sas-grid-administration

556


what is hierarchy flattening? : Sas-di

625


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

617


What are the implications?

1186


if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

551


What is the function of Stop statement in a SAS Program?

650


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

1918