[R] Can strptime handle milliseconds or AM/PM?

e-letter inpost at gmail.com
Thu Jan 17 08:59:26 CET 2013


Readers,

Responding to an old post
(http://tolstoy.newcastle.edu.au/R/e2/help/07/06/18850.html), and
using the example in the manual:

monthextract<-strptime("20/2/06 11:16:16.683", "%m")
monthextract
[1] NA

Why is the result 'NA' and not '2'?

--
r2151



More information about the R-help mailing list