Skip to content
Prev 167914 / 398503 Next

time date stamp since, january 1st 1970

Since the starting date is the same as that of the POSIXct class, it  
should not be a big problem. Just divide by 1000.

 > as.POSIXct(1232558018624/1000, origin="1970-01-01")  # throws an  
error if origin not set
[1] "2009-01-21 17:13:38 EST"
 >
 > as.POSIXct(0/1000, origin="1970-01-01")
[1] "1970-01-01 EST"