Hi,

Let me know, how to set/unset "isdst" parameter in system/session level.

I could understand the possible values of isdst 0, 1 and -1.

Example:

Sys.setenv(TZ="PST8PDT");
as.POSIXct("2007-11-04 01:00:00");

when I was executed the above command,

LINUX.X64 -> it was treated as PST value.
[1] "2007-11-04 01:00:00 PST"

WINDOWS.X64 -> it was treated as PDT value
[1] "2007-11-04 01:00:00 PDT"

SOLARIS.X64 -> it was treated as PST value.
[1] "2007-11-04 01:00:00 PST"

In 2007 the Daylight saving time was ended at 2007-11-04 02:00:00, so there
was two "2007-11-04 01:00:00" values each for Standard and Daylight time.

But I was not able to understand, how R is displaying the datetime as
PST/PDT.

Please do the needful.


Thanks
Vasanth

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to