[R] as.POSIXlt, starting at 0 or 18000?
yoooooo
magno_yu at ml.com
Tue Sep 11 15:45:35 CEST 2007
Hi all,
I tried to do this:
unclass(strptime("1970-01-01", "%Y-%m-%d", tz="") + 0)
[1] 18000
I thought the starting time is zero? Same result returns if I do:
unclass(strptime("1970-01-01", "%Y-%m-%d", tz="EDT") + 0)
unclass(strptime("1970-01-01", "%Y-%m-%d", tz="EST") + 0)
unclass(strptime("1970-01-01", "%Y-%m-%d", tz="GMT") + 0)
with LC_TIME=en_US;
Or they always start from 18000?
Thanks,
- yoooooo
--
View this message in context: http://www.nabble.com/as.POSIXlt%2C-starting-at-0-or-18000--tf4422770.html#a12615136
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list