Classic Classic Quiz Reading date and time values by Tomowsiak Tomowsiak 138 played - 12 yrs ago Chapter 19 from the book QUIZ 10 QUESTIONS hard 1 Sas stores dates as the number of days from when? Jan 1, 1900Jan 1, 1960Jan 1, 1950Jan 1, 1970 2 Why store time and dates as numeric values? Can be easily editedCan be easily read and understoodCan be used like stringsCan be used like numbers in calculations 3 Sas doesn't adjust for daylight, but it adjust for what? Leap secondsLeap yearsJulian datesTime zones 4 Data has the form 10222001, which informat should be used to read it? Date6Date8Mmddyy6Mmddyy8 5 The minimum width of the time informat is? 4567 6 Which combination of date and informat used to read it is incorrect? 30may2000 : 10 : 03 : 17. 2 datetime20.0may00 10 : 03 : 17. 2 datetime18.30may2000/10 : 03 datetime15.30may2000/1003 datetime14. 7 What's the default value of the year cutoff system option? 1920191019001930 8 Suppose the input data file contains the date expression 13apr2009 the year cutoff is 1910. . how will sas read it? 13apr190913apr192013apr200913apr2020 9 Suppose the data has a date field like 12/08/1925. . the year cutoff system option is set to 1920. . how will this be read with MMDDYY08 08dec192008dec192508dec201908dec2025 10 Suppose your program creaets two variables from an input file. . both are dates. . one is the beginning of a billing cycle and the other the end. . how should you find the total # of days in the cycle Totdays=lastday-firstdayTotdays=lastday-firstday+1;Totdays=lastday/firstday/Dates can't be use in calculations A mistake in this Quiz ? Contact the author Commentaires