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...

How to convert a given date value into SAS date

Answer Posted / sheetal

data temp;
date='17/12/2009';
m=substr(date,4,2);
d=substr(date,1,2);
y=substr(date,7,4);
d1=mdy(m,d,y);
format d1 mmddyy10.;
run;

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to read the variables in sas? : Sas-administrator

966


What sas features do you use to check errors and data validation?

1163


Which command is used to save logs in the external file?

1031


What is the order of application for output data set options, input data set options and SAS statements?

1506


What is the difference between proportion and average?

3268


In SAS explain which statement does not perform automatic conversions in comparisons?

1265


What is the differnce between SDTM 3.1.2 to 3.1.1 version

5031


Describe a time when you were really stuck on a problem and how you solved it?

2579


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

990


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

2182


How are numeric and character missing values represented internally?

1608


what is the basic structure sas administrator? : Sas-administrator

958


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

1000


What is the difference between class statement and by statement in proc means?

1195


How to limit decimal places for the variable using proc means?

1002