title: Parsing datetime in AM/PM format
body: <p>I am trying to parse Date-time in AM/PM format in R. I found that '%p' can handle this. However, when I try this: </p>
  
  <pre><code>mydate &lt;- as.POSIXct("01.01.1970 01:00:00 PM", format="%d.%m.%Y %H:%M:%S %p", tz = "UTZ")
  mydate
  [1] "1970-01-01 01:00:00 UTZ"
  &gt; as.numeric(mydate)
  [1] 3600
  </code></pre>
  
  <p>This is clearly 1 AM. I would have expected the output:</p>
  
  <pre><code>[1] "1970-01-01 13:00:00 UTZ"
  [1] 46800
  </code></pre>
  
  <p>What am I missing?</p>