/* This is example of age caluculate wihtout to display perfect days and years in output window */ data age; retain dob "12jun2003"d now "24may2011"d; age1=now-dob; age=(now-dob)/365.25; years=int(age); days1=round((age-years)*365.25); months=month(now)-1; if days1 gt 30 and months in(12,10,8,6,4,2)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month)*30.4375)+1; drop days1 month1 month; end; else if days1 gt 30 and months in (1,3,5,7,9,11)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month) *30.4375); drop days1 month1 month; end; drop age age1; proc print data=age; format dob now date.; run;
1 5620Post New Emerio SAS Interview Questions
what is the basis for selection of arrays or pointers as data structure in a program
I want to know if I do B Sc and MBA simultaneously whether it will be acceptable by organization (private / public) while I try for job opportunities. Or will they reject saying simultaneous graduation is not acceptable as I have seen organization asking for 12+3+2 years for qualification. I had previously done BA (2 years) then MCA (2 years). Pl. advice.
What is constructor chaining and how is it achieved in java?
Do you know what does reference means in actionscript?
Why is not dom ready working for jquery mobile? : jquery mobile
how will map a folder through ad? : Windows server 2003
what is the purpose of joining engineering?
What is meant by authorization? Did you ever work on it? : sap abap hr
What is ud connect in sap bw system? How does it allow reporting in bi system?
What is short term scheduler in operating system (os)?
What is text wrapping in word?
Is it possible to double spend in a blockchain system?
How do I run exe files on windows?
What are the different types of important services used in cognos?
Explain about sql server login?