By admin | September 8, 2009

SAS Certified Base Programmer 123 Questions (26)

The following SAS program is submitted:

data work.new;
    mon= 3;
    day = 23;
    year =2000;
    date = mdy(mon,day,year);
run;

Which one of the following is the value of the DATE variable?

A. a character string with the value ’23mar2000′
B. a character string with the value ’03/23/2000′
C. a numeric value of 14692, which represents the SAS date value for March 23, 2000
D. a numeric value of 3232000, which represents the SAS date value for March 23, 2000

One comment | Add One

  1. admin - 09/8/2009 at 7:35 pm

    C

Leave a Comment

Leave a Reply

Your email address will not be published.