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

which date function advances a date, time or datetime value by a given interval? : Sas programming

1094


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

1198


what is null hypothesis? why do you consider that?

2958


what are the considerations when picking a SAS/STAT procedure?

3415


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2509


what is hierarchy flattening? : Sas-di

1132


what is hash files in sas and why we are using this one in sas?

2267


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

1060


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1657


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

1122


Difference between SAS STATA & SPSS?

1176


What are all the problems you faced while validating tables and reports?

3510


what is data integration? : Sas-di

1163


Give e an example of..

2379


Of all your work, where have you been the most successful?

4715