On Fri, 7 Jan 2011, Rustamali Manesiya wrote:
Hello I have trouble getting my original datetime back see below. I hope I
am missing something. Please help.
The numeric form (which you should never use) has an origin at
midnight in UTC, not EST.
Note too that 'EST' is not very plausible for
Hello I have trouble getting my original datetime back see below. I hope I
am missing something. Please help.
> tt <- as.POSIXct("2011-01-07 07:49:13", tz="EST")
> tt
[1] "2011-01-07 07:49:13 EST"
> ttn <- as.numeric(tt)
> ttn
[1] 1294404553
> tt <- as.POSIXct(ttn,origin='1970-01-01',tz="EST")
>
2 matches
Mail list logo