Skip to content
Prev 9137 / 398502 Next

system time is 5 hours off in Windows

On Mon, 22 Jan 2001 Setzer.Woodrow at epamail.epa.gov wrote:
[...]
It seems OK everywhere else, whic is why it is not mentioned there.
Windows code does not use TZ according to its documentation.
R sets it for its own purposes.
Right. It is not documented and does not in general work for Windows.
We do it by hand on Windows.  It is possible that what we do (using
tzname and tzset()) is upsetting date(), which I have no idea how it works,