[R] read.spss and time/date information
torsten@hothorn.de
torsten at hothorn.de
Wed Mar 3 18:26:36 CET 2004
On Wed, 3 Mar 2004, Peter Dalgaard wrote:
> 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.]
>
I tried January 1th 1970 as "baseline" but I never would have
dreamed of October 14, 1582.
Thanks to all responders!
Torsten
> --
> 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