[R] R couldnt recognize US Pasific timezome

Christofer Bogaso bog@@o@chri@tofer @ending from gm@il@com
Mon Jul 9 10:14:26 CEST 2018


I wanted to convert Epoch time to readable time with US Pacific Time Zone
using 'anytime' package, as below:

> library(anytime)
> anytime(1417411980, tz = 'PST')
[1] "2014-12-01 05:33:00 GMT"
Warning message:
In as.POSIXlt.POSIXct(x, tz) : unknown timezone 'PST'

However it appears that R couldn't recognize the PST as the short form of
Pacific time zone.

Any help to correctly change Epoch time to corresponding pacific time would
be helpful.


	[[alternative HTML version deleted]]

More information about the R-help mailing list