[R] ISOdatetime gives NA for a specific date

pbarros pbarros at ualg.pt
Tue Feb 10 16:31:41 CET 2009



Thanks a lot. I will need to change the time to GMT, then, I guess (this is
indeed GMT time).

Pedro

Daylight savings time, I guess. The clock went directly from 1:59 to
3:00 that day. Other systems behave strangely (er, "handle the anomaly")
in different ways:


> ISOdatetime(1995,03,26,1,10,0)
[1] "1995-03-26 01:10:00 CET"
> ISOdatetime(1995,03,26,2,10,0)
[1] "1995-03-26 01:10:00 CET"
> ISOdatetime(1995,03,26,3,10,0)
[1] "1995-03-26 03:10:00 CEST"

(SUSE 10.2)



-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907

______________________________________________
R-help at r-project.org mailing list
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.



-- 
View this message in context: http://www.nabble.com/ISOdatetime-gives-NA-for-a-specific-date-tp21934989p21936112.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list