[R] ISOdate returns incorrect date?

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Nov 19 17:33:51 CET 2003


Well, one clue is that date is before the modern era, and most OSes only
go back to 1902.  Some only go back to 1970!  I suspect the OS does not
know that 1900 was not a leap year.

On Wed, 19 Nov 2003, Heiko Schaefer wrote:

> 
> Does this really work for you? I still get:
> > ISOdate(1900,6,16)
> [1] "1900-06-15 14:00:00 Westeuropäische Sommerzeit"
> > ISOdate(1900,6,16,tz="")
> [1] "1900-06-15 12:00:00 Westeuropäische Sommerzeit"
> 
> Obviously the time son influences the time, but it can
> Not possibly account for the difference of a full day?!
> 
> Still puzzled...
> 
> Heiko


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list