PST8PDT is the valid timezone in my machine and I have verified it.
I am followed your suggestion. there is no difference in the output.
*> Sys.setenv(TZ="America/Los_Angeles");*
*> Sys.getenv("TZ");*
* TZ *
*"America/Los_Angeles" *
*> as.POSIXlt(Sys.Date());*
*[1] "2014-10-22
On Oct 22, 2014, at 7:46 PM, Jeff Newmiller wrote:
> Because PST8PDT probably is not a valid TZ on your operating system. Try
> "America/LosAngeles"
For me (on a Mac) it has an intervening dash:
> Sys.timezone(location = TRUE)
[1] "America/Los_Angeles"
However, on a mac the system returns a d
Because PST8PDT probably is not a valid TZ on your operating system. Try
"America/LosAngeles"
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
3 matches
Mail list logo