[R] timezone specification on windows machine

David Winsemius dwinsemius at comcast.net
Sat May 14 21:35:05 CEST 2011


On May 14, 2011, at 2:51 PM, Robert A'gata wrote:

> Hi,
>
> I'm wondering what's the right value for specifying "America/New_York"
> time zone on a windows machine? I got my code which specify this time
> zone on as.POSIXct function work properly with this value on a linux
> machine. But it keeps giving me complaint on windows. Thank you.

See what this give you:

as.POSIXlt((d <- Sys.time()), "EST5EDT")

>
> Cheers,
>
> Robert
>
> ______________________________________________
> R-help at 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.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list