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 !
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With