[R] Problems with strptime

Vittorio vdemart1 at tin.it
Mon Jun 9 17:17:06 CEST 2008


Perhaps I'm missing a real, stupid point but I can't understand the 
following behaviour:

> strptime("30 march 2008 02:30 AM",format="%d %B 
%Y %I:%M %p")
[1] "2008-03-30 02:30:00"
> strptime("30 march 2008 00:30 
AM",format="%d %B %Y %I:%M %p")
[1] NA

Why times 00:nn are not 
available and how solve this?

Ciao
Vittorio



More information about the R-help mailing list