Re: [R] Fwd: as.POSIXlt() Function

2014-10-23 Thread Vasantha Kumar Kesavan
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

Re: [R] Fwd: as.POSIXlt() Function

2014-10-22 Thread David Winsemius
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

Re: [R] Fwd: as.POSIXlt() Function

2014-10-22 Thread Jeff Newmiller
Because PST8PDT probably is not a valid TZ on your operating system. Try "America/LosAngeles" --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go...