Hi there, Am I missing something? The "%p" format, which should match against AM/PM, seems to be broken in R 2.3.1 running on Windows XP SP2. For example, the following fails
> strptime("10AM", "%I%p") [1] NA whereas the this works as you would expect, but is ambiguous > strptime("10", "%I") [1] "2006-11-30 10:00:00" Does this error reproduce on other machines, or is it something wrong with my setup? Cheers, Edward ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.