Re: [R] timezone specification on windows machine

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Sat, 14 May 2011 15:35:05 -0400

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



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. Received on Sat 14 May 2011 - 19:38:11 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 14 May 2011 - 20:10:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive