Hi!
I'm confused by this:
as.numeric(as.POSIXct(518400,origin=2001-01-01))
[1] 978822000
I guess the problem is that as.numeric() assumes a different origin, but cannot
find
any default origin.
How can I get back the seconds from the POSIXct format? In other words, which
the inverse
as.POSIXct(518400,origin='2001-01-01')
[1] 2001-01-07 PST
as.POSIXct(as.numeric(as.POSIXct(518400,origin='2001-01-01')),origin='1970-01-01')
[1] 2001-01-07 08:00:00 PST
On Wed, Aug 24, 2011 at 9:22 AM, Agustin Lobo agustin.l...@ija.csic.eswrote:
Hi!
I'm confused by this:
2 matches
Mail list logo