Re: [R] Problems with strptime

2008-06-09 Thread jim holtman
%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 <[EMAIL PROTECTED]> wrote: > Perhaps I'm missing a real, stupid point but I can't understand the > following behaviour: >

[R] Problems with strptime

2008-06-09 Thread Vittorio
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 s