Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SAS. Why "Jan 11 2002" == "88399", according to documentation?

Tags:

date

sas

I was reading the dates documentation, but couldn't understand how SAS handled the dates:

On SAS website they explain that Jan 1 1961 is 366, which makes sense : this is the number of days from Jan 1 1960.

Further they convert Jan 11 2002 into 88399 WHY ? This does not make any sense . The number of days from Jan 1 1960 to Jan 11 2002 is NOT 88399, it is around 16K !!!

Where do they get the 88399 ?

Thanks in advance !

enter image description here

like image 688
Alex Avatar asked Dec 23 '14 16:12

Alex


1 Answers

I think it is either a typo in the documentation or a calculation mistake, and is supposed to be Jan 11, 2202.

http://www.wolframalpha.com/input/?i=jan+1+1960+%2B+88399+days

FWIW, the -67019 seems to be correct and the correct value for Jan 11, 2002 is 15351.

like image 153
lc. Avatar answered Nov 15 '22 01:11

lc.