03-15-2017 04:08 PM
Q )the following program submitted
What will be the value of X?
A.the numeric value 0
B.the character value "01jan1960"
C.the date value 01011960
D.code contains a syntax error
What is the answer and explain how it comes?
03-15-2017 04:27 PM
SAS calculates dates as the number of days since January 1, 1960. Here, the date is exactly January 1, 1960, which is 0 days. So the answer to this question is 0.
Hope this explanation makes sense!
Need further help from the community? Please ask a new question.