Skip to content

TIme Zone error

3 messages · Christofer Bogaso, William Dunlap, Jeff Newmiller

#
Hi,

I want to set a specific Timezone for my R environment, with below syntax:
[1] ""
But it sets to some blank timezone.

I checked with OlsonNames(), to see available zones for R, where I found
"Asia/Calcutta" available.

I idea why R failed to set timezone properly?

Thanks for your time.
#
[1] "2019-01-26 01:19:00 EST"
[1] "2019-01-26 01:19:00 IST"

(Sys.getenv("Asia/Calcutta") returns the value of the environment variable
"Asia/Calcutta".  It does not set a value.)
Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Sat, Jan 26, 2019 at 1:15 PM Christofer Bogaso <
bogaso.christofer at gmail.com> wrote:

            

  
  
#
Read the help file

?as.POSIXct

"" as time zone is not an error.
On January 26, 2019 1:15:21 PM PST, Christofer Bogaso <bogaso.christofer at gmail.com> wrote: