Click on the Comments to view the Answers

Friday, January 22, 2010

SAS 9

What would be the correct raw data value of a datatime field for Dec 15,
1986 10:00pm for SAS?

A) 10942
B) 10935
C) 15756360
D) 121519862200

4 comments:

SASGuru said...

Answer: C
Reasoning: The datetime value is the number of seconds from
midnight on 1/1/1960. This of course would be a rather large number,
in fact, 120 seconds from 10942 days (including 7 extra days from
leap years). The last answer is incorrect as it is the date and time
written out without any delimiters.

kat said...

it should be 850644000. but i guess C is the best choice.

Unknown said...

Kat, it's going to change every second you run the code. C is the only reasonable option.

preet said...

they are not asking for sas date value .. question is raw data value ..

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