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

Describe crosslist option in tables statement?

1224


do you need to know if there are any missing values? : Sas programming

1058


Explain how merging helps to combine data sets.

1054


explain the difference between proc means and proc summary?

1126


what is broad cast agent? : Sas-bi

1071


What is program data vector (pdv) and what are its functions?

1247


what is data integration? : Sas-di

1119


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1372


what is star schema? : Sas-di

1130


what is null hypothesis? why do you consider that?

2899


What is the role of sas grid administrator? : sas-grid-administration

1289


Name any two sas spawners? : sas-grid-administration

1039


What are the difference between sas functions and procedures?

1155


Have you used macros? For what purpose you have used? : sas-macro

1041


Which statement does not perform automatic conversions in comparisons?

1786