On 22 Feb 2016, at 18:30 , Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote:

> .. read the Excel documentation for representing dates... it is days since 
> December 30, 1899 on Windows.

I seem to recall that that is actually only true for dates after March 1, 1900. 
(The reason that it is not counting December 31st being that someone thought 
that 1900 was a leap year.) 

<Checks Wikipedia: Yep, 1900 is still a leap year in Excel. The original 
perpetrator was Lotus 1-2-3 and Microsoft went for but-compatibility.>

-pd

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to