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.

Answers were Sorted based on User's Feedback



Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 ..

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

Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 ..

Answer / naveen

proc sql;
select *
from qqq
format date date9.;
quit;

Is This Answer Correct ?    0 Yes 0 No

Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 ..

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

Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 ..

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

More SAS Interview Questions

How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

0 Answers   Accenture,


How is character variable converted into numeric variable and vice versa?

0 Answers  


Approximately what date is represented by SAS date value of 730

9 Answers  


What are the data types that sas contain?

0 Answers  


How to test the debugging in sas?

0 Answers  


What is difference between Global n Local Macro Variables..?

6 Answers   TCS,


i have one dataset data l; input name: $ 25; cards; manoj is a good boy to krishna krishna is a god boy to malli malli is good boy to ramana ques: here i want "manoj" observations nubers

3 Answers   SAS,


What is a method to debug and test your SAS program?

0 Answers  


what is metadata? : Sas-bi

0 Answers  


Do you prefer Proc Report or Proc Tabulate? Why?

9 Answers   Oracle,


Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself.

2 Answers   Accenture,


i am importing large data from oracle to work library. in log there is a error message worklibrary space is not enough. then how to import the data safely to sas environment.

2 Answers   Cap Gemini,


Categories