r - Strptime from factor variable in wrong format -


I am trying to use strptime () to parse the date with a component variable - but there is a hold My dates (wrongly) list day and month as a single instead of double digits. For example, my date is 5/5/2012 14:02 instead of 05/05/2012 14:02.

/% Y% H:% M ")

Is anyone sure?

capital y will:

 < Code> test & lt; - "5/5/2012 14:02" Stratum (test, "% m /% d /% Y% H:% M") [1] "2012-05-05 14:02:00"   

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -