[Rd] strptime (PR#4204)

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sun Nov 2 12:31:28 MET 2003

Did that time actually exist in your timezone?  It does in mine and it is
converted correctly, but I suspect it does not in yours.  According to my
version of Windows that hour does not exist in a US timezone due to the
change to DST.

In any case, you have not given sufficient information to reproduce this,
such as your locale.

Please either produce evidence for your claim or confirm that the error was
your own.  In the unlikely event that there is a bug it will be in Windows
and not in R.

On Wed, 17 Sep 2003 pliu3 at ncsu.edu wrote:

> Full_Name: Peng Liu
> Version: 1.7.1
> OS: XP Home
> Submission from: (NULL) (
> > strptime(c("80040601"),format="%y%m%d%H")
> [1] "1980-04-06 01:00:00"
> > strptime(c("80040602"),format="%y%m%d%H")
> [1] "1980-04-06 01:00:00"
> Convert incorrectly.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-devel mailing list