[R] read.spss and time/date information

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Mar 3 17:52:01 CET 2004


Torsten Hothorn <Torsten.Hothorn at rzmail.uni-erlangen.de> writes:

> Could anyone give me a a hint how I can convert 13264300800 to 2003/02/11
> again, please?

> ISOdate(1582,10,14)  + 13264300800
[1] "2003-02-11 13:00:00 CET"
> ISOdate(1582,10,14)  +  13142476800
[1] "1999-04-03 14:00:00 CEST"

[October 14, 1582 is Day 1 of the Gregorian calendar.]

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list