aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
Multiple choice technology programming languages

What is the SAS data value of 01-Jan-1960?

  1. 21916

  2. 1

  3. 0

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

SAS uses January 1, 1960 as the epoch date with a value of 0. All dates before this are negative and all dates after are positive. For example, January 2, 1960 is 1 and December 31, 1959 is -1. This is the internal SAS date representation.

Keep practicing — related questions

  • A raw data record is shown below: 07Jan2002 Which one of the following informats would read this value and ...
  • Given the following raw record: 07Jan2007 Which INFORMAT reads this raw date and stores it as a SAS date va...
  • 1----5----10--- (data in file ‘asa’) 03132000 data temp; infile ‘asa’; input date : MMDDYY10.; run; What wi...
  • If you a variable containing data like,1984,00,1996,1945. Then which will be best option to make SAS read t...
  • If you a variable containing data like,1984,00,1996,1945. Then which will be best option to make SAS read t...
  • DATA TEMP; X= ‘13MAR2000’d;RUN;What is stored in x?
  • data test; dat = '13MAR2000'd; format dat WEEKDATE.; run; What will be the value of dat in output dataset?
  • The following SAS program is submitted: data work.month; date = put('13mar2000'd,ddmmyy10.); run; Which one...
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy