I loaded a sas7bdat file using the sas7bdat
package, but the dates are converted to a num like this:
sas <- c(16922, 17045, 17014, 16983)
I tried
rPOSIX <- as.POSIXct(sas,origin='1960-01-01')
as mentioned here but it's wrong. I don't have access to SAS but the dates should be around the year 2006.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…