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...

[R] Fwd: as.POSIXlt() Function

2014-10-22 Thread Vasantha Kumar Kesavan
Hi, I am a new R user and also not sure about the below concern is really a bug, My concern are listed below, Look at the below example, when Sys.Date () is called within the as.POSIXlt () function. Why it is displaying only the date value and the timezone is selected to UTC even though the TZ v