strptime return wrong data?, look the R session.
# datetxt: vector of date in text format
> datetxt <- c("1939-Oct-06 00:00:00", "1939-Oct-07 00:00:00",
"1939-Oct-08 00:00:00", "1939-Oct-09 00:00:00")
> datehour <- strptime(datetxt,format= "%Y-%b-%d %H:%M:%S")
> datehour
[1] "193
Em Seg, 2004-11-22 Ãs 07:31 +, Prof Brian Ripley escreveu:
> The bug is in your (unstated) OS, probably in its locale handling.
> Does not happen on Solaris, Linux or Windows for me.
>
> In any case, why not use as.Date?
>
> On Mon, 22 Nov 2004, Juan Santiago Ramseyer wrot