Correct the following code to output how old the dataset would be today when using yrdif: HW.dates;    input Subj $ DOB: ddmmyy10.; Agetoday = yrdif(DOB, today(), 'ACT/365'); datalines; 001 11Nov06 002 25May07 003 25Dec06 ; run; proc print data=HW.dates; run;

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter9: Formula Auditing, Data Validation, And Complex Problem Solving
Section: Chapter Questions
Problem 5EYK
icon
Related questions
Question

Correct the following code to output how old the dataset would be today when using yrdif:

HW.dates;
   input Subj $ DOB: ddmmyy10.;
Agetoday = yrdif(DOB, today(), 'ACT/365');
datalines;
001 11Nov06
002 25May07
003 25Dec06
;
run;
proc print data=HW.dates;
run;

 
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning