Click on the Comments to view the Answers

Wednesday, January 27, 2010

Base 61

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

6 comments:

SASGuru said...

Answer: C
Mdy() function returns a date numeric val

Rujuta........ said...

C. a numeric value of 14692, which represents the SAS date value for March 23, 2000

siva said...

Answer c

CompleteExamCollection said...

For latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.
Refer our blog for more details
http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html

SAS learner said...

how did you get 14692?

Unknown said...

365 * 40 = 14600
9 leap years on 40 years = 9 days
Jan 31 Feb 29 March 23 ( since we took 29 for Feb 2000 we did not count it in a leap year)
If we add all then it comes to 14692

Post a Comment



Technology Top Blogs On our way to 1,000,000 rss feeds - millionrss.com Hihera.com Blog Directory - OnToplist.com blogarama - the blog directory Blog Directory
Disclaimer

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.

Other brand and product names are trademarks of their respective companies.

This blog is not responsible for any kind of copyright violation. This blog just collects the links hosted or posted by other servers/people/search engines.The creator of this page or the ISP(s) hosting any content on this site take no responsibility for the way you use the information provided on this site.If anybody has any copyright claim on it and doesn’t wish the information provided to be shown on our site, please do respond to this email. We shall remove them off immediately. Any inconvenience is regretted. Please do mention your exact grievance/problems with respect to certain third party links. We assure you that appropriate action will be taken off. Thank you