title: Error transforming dates to days in r
body: <p>I am adding a day-name column to a data frame that has a date column. Something like this:</p>
  
  <pre><code>date&lt;-c ("01/09/2014", "24/08/2014", "28/08/2014")
  id&lt;-(1:3)
  df&lt;-data.frame(date,id)
  df$day&lt;-weekdays(as.Date(df$date))
  </code></pre>
  
  <p>However, the resulting column does not match the actual days. In the above example, for instance, September 1 is Thursday, while in reality it was a Monday. Thanks for your help.</p>