search for: newdate2

Displaying 1 result from an estimated 1 matches for "newdate2".

Did you mean: newdate
2009 Mar 11
1
Is this a documentation bug? Spss dates import
...df$MYDATE , origin="1582-10-14")) But if you take a look at the vector test.df$newdate you got: R.date = SPSS.date - 1 day Please confirm this! I would like to be sure that i didn't made mistakes (I've used SPSS 11 + R 2.8) If you come back to data, changing 14 to 15 test.df$newdate2 <- as.Date(as.POSIXct(test.df$MYDATE, origin="1582-10-15")) assures that R.date = SPSS.date > test.df MYDATE newdate newdate2 1 11903760000 1959-12-31 1960-01-01 2 11762496000 1955-07-10 1955-07-11 3 11995257600 1962-11-24 1962-11-25 4 11885875200 1959-06-07 1959-06-...