/* 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 5484Post New Emerio Interview Questions
What does hasownproperty method do?
How we can send more values through the response text?
What is the mandatory property when creating the Table?
Why do we need constructor?
What is data types in database?
What is a windows server containers?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
which are the string manipulation opcodes?
What is footer in css?
Dear Sir, My qus is my co. purchase a laptop from Abc.co. for rs-37200 on credit Emi basis from hdfc bank. i paid every month 6200rs as a installment. so i want to know how i make a entry in tally 9. and also want to know i creat laptop ledger under fixed assets or office expenses. plz tel me soon.or mail me .
How does the interrupts handle by using the threads?
Explain different types of locks in jdbc?
What are the disciplinary actions as a Team Leader you will take if you come across a female employee who is sexually abused ?
Explain throw keyword in java?
Tell us about an experience where you had been a team member.