Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / alok karan

proc format ;
invalue newinformat 13="13oct2011"d 14="14oct2011"d 15="15oct2011"d;
run;
data ii;
input id date:newinformat.;
datalines;
1  13         
2  14        
3  15
;
run;
proc print data=ii;
format date date9.;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain data_null_?

1041


What are the new features included in the new version of SAS Programming Language?

1196


What does the trace option do?

1093


what is the use of proc contents and proc print in sas? : Sas-administrator

1035


what is treatment emergent events and treatment emregent adverse event

2379


How do you define proc in sas? : sas-grid-administration

1067


how to generate the test data in sas without input data? : Sas-administrator

1107


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

983


Differentiate between proc means and proc summary.

1036


Do you know the features of sas?

1028


What are the five ways to do a table lookup in sas? : sas-grid-administration

1053


Which command is used to perform sorting in sas program?

1033


What is the use of divide function?

1053


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

1145


What are the functions used for character handling?

1227