title: Colon in date format between seconds and milliseconds. How to parse in R?
body: <p>How can I parse this date format? Should I change this colon to dot or maybe someone know better solution?</p>
  
  <pre><code>&gt; x &lt;- "2012.01.15 09:00:02:002"
  &gt; strptime(x, "%Y.%m.%d %H:%M:%S:%OS") 
  [1] "2012-01-15 09:00:02"
  &gt; strptime(x, "%Y.%m.%d %H:%M:%OS")
  [1] "2012-01-15 09:00:02"
  &gt; x &lt;- "2012.01.15 09:00:02.002"
  &gt; strptime(x, "%Y.%m.%d %H:%M:%OS")
  [1] "2012-01-15 09:00:02.001"
  </code></pre>