Displaying 1 result from an estimated 1 matches for "tp2968076p2969281".
2010 Oct 08
4
Bug in as.POSIXct regarding AM/PM
Dear All,
I encounted in a problem with as.POSIXct() function.
> as.POSIXct("2009/03/26 01:00:00 AM" , format="%Y/%m/%d %I:%M:%S %p")
[1] NA
> as.POSIXct("2009/03/26 02:00:00 PM" , format="%Y/%m/%d %I:%M:%S %p")
[1] NA
I have tried this in the R version 2.11.1, R version 2.10.1 and R version
2.9.2 . They all does not work. The operation system is