title: Use of strptime for conversion
body: <p>I am a beginner at date conversion and I have a character column in a data frame (say dataframe$date) as follows:</p>
  
  <pre><code>April-Friday-20
  </code></pre>
  
  <p>I am trying to use the following <code>strptime</code> code to convert to a date format in a new column (say <code>dataframe$column</code>), but am getting <code>NA</code>s in all rows. The number in the date stands for 24 hour time, with single digits.  </p>
  
  <pre><code>dataframe$column &lt;- strptime(dataframe$date,format="%B-%A-%k")
  </code></pre>
  
  <h2>Any idea what I am doing wrong?</h2>
  
  <p>Update: Some simple code to reproduce</p>
  
  <pre><code>datetest &lt;- c("April-Friday-20")
  datetest &lt;- as.Date(datetest, format="%B-%A-%k")
  </code></pre>
  
  <p>Above code gives me NA</p>