R on Windows uses the Olsen timezone database, a copy of which is stored with R in the Program Files directory (e.g. R/R-3.1.1/share/zoneinfo). You could update the file yourself if you can find a corrected version, or download an updated version of R. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
On November 6, 2014 1:16:06 PM EST, Vasantha Kumar Kesavan <info.vas...@gmail.com> wrote: >Hi, > >I am working R on windows 2012 R2 platform, I have updated the latest >hotfixes for time zone information(Microsoft KB 2981580. ><http://support.microsoft.com/kb/2981580>). > >But still R is not populating correct date time values(Standard and >Daylight saving). > >Could you please advise me, how to enable R to pick up the latest time >zone >information/configurations. > >Example: > >R --vanilla >Sys.setenv(TZ = "America/Eirunepe"); >dt<-c(seq(as.POSIXct("2013-11-09 20:00:00",tz="America/Eirunepe"), >as.POSIXct("2013-11-10 10:00:00" ,tz="America/Eirunepe"), by="hour")); >> dt > [1] "2013-11-09 20:00:00 AMT" "2013-11-09 21:00:00 AMT" > [3] "2013-11-09 22:00:00 AMT" "2013-11-09 23:00:00 AMT" > [5] "2013-11-10 00:00:00 AMT" "2013-11-10 01:00:00 AMT" > [7] "2013-11-10 02:00:00 AMT" "2013-11-10 03:00:00 AMT" > [9] "2013-11-10 04:00:00 AMT" "2013-11-10 05:00:00 AMT" >[11] "2013-11-10 06:00:00 AMT" "2013-11-10 07:00:00 AMT" >[13] "2013-11-10 08:00:00 AMT" "2013-11-10 09:00:00 AMT" >[15] "2013-11-10 10:00:00 AMT" > >For the “*America/Eirunepe*” time zone, the DST ended on Sun >10-Nov-2013 at >12:00:00 A.M. when local clocks were set backward 1 hour. > > >as per the latest timezone configuration, the date time sequence should >have "2013-11-09 23:00:00" twice. > > >Thanks > >Vasanth > > [[alternative HTML version deleted]] > >______________________________________________ >R-help@r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.