%I is only defined for 01-12:

%I Hours as decimal number (01–12).


so there is not time of 00:30 AM.  I supposed you mean 12:30 AM


On Mon, Jun 9, 2008 at 11:17 AM, Vittorio <vdemart1@tin.it> wrote:

> 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
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

	[[alternative HTML version deleted]]

