From martin.lenze at web.de  Wed Jun  2 02:29:24 2004
From: martin.lenze at web.de (martin.lenze@web.de)
Date: Wed Jun  2 02:29:26 2004
Subject: [Rd] Bug with date 1970-01-01 on Windows (PR#6929)
Message-ID: <20040602002924.3F60310687@slim.kubism.ku.dk>

Full_Name: Martin Lenze
Version: 1.8.0 alpha (2003-09-18)
OS: Microsoft Windows 2000 [Version 5.00.2195], SP4
Submission from: (NULL) (82.82.76.131)


Seems to be related to PR#1332...

Hello,

I get:
> Sys.getlocale()
[1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=English_United States.1252"
> strptime("20040602","%Y%m%d")-strptime("19700101","%Y%m%d")
Time difference of NA secs
> strptime("20040602","%Y%m%d")-strptime("19700102","%Y%m%d")
Time difference of 12569.96 days

I get as well the bug reported in 1332:
> as.POSIXct("1970-01-01", tz = "GMT")
Error in fromchar(x) : character string is not in a standard unambiguous format

Regarding hint on msvcrt.dll in Windows-FAQ on R:
The downloaded archive contains:
msvcrt.dll 4.20.0.6164
msvcrt20.dll 2.11.0.0
msvcrt40.dll 4.10.0.5349

My Windows 2000 System has the following versions in ...\system32:
msvcrt.dll 6.1.9844.0
msvcrt20.dll 2.12.0.0
msvcrt40.dll 4.2000.0.6201
which are all newer than the ones from the archive mentioned within the FAQ.
Thus I feel a bit unhappy, to replace those, especially as the readme.txt in the
archive recommends not to do so if files are present.

I have made this a new bug report, because the other one is over two years old
now...

Hope You don't mind.

Many thanx in advance
M. Lenze


[Rd] Bug with date 1970-01-01 on Windows (PR#6929)
martin.lenze@web.de