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...
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
4 matches
Mail list logo