/* 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 4231Post New Emerio SAS Interview Questions
hi i am avinash ,i am doing ma b-tech(cse) final year and i have been detained for 2years due to attendance and i will be finished ma b-tech in 6 years ,plz tell me weather i will be eligible for government jobs like bhel, drdo,or any other private companies
Is list ienumerable c#?
What sap systems have integration capabilities with sap transportation management? : transportation management
what's the best movie you've seen in the last year?
What are angular js expressions?
What is the Difference between socket and servlet?
Define a path?
What is dynamic and static typing?
What type of records blockchain supports? Is there any restriction for record-keeping?
What qualities have you got that would make you a good accountant?
Vikram earth station (satellite communication ground station) near pune was founded in which year?
Do you have developed plug-in?
Are there issues when exporting SSRS reports into Microsoft Excel? When my users are trying to export a SSRS report into Microsoft Excel, one or two columns in the report appear to merge together. Why might this be?
Explain quick sort and merge sort algorithms.
What is drivermanager getconnection?