title: Convert from character to Date
body: <p>I am running into some date issues when working with Dates in R.</p>
  
  <p>Here's my situation-</p>
  
  <p>I have a data set based on dates and finally got the Date field converted from character to Date in R using the following code </p>
  
  <pre><code>o1$Date &lt;- as.Date(o1$Date , "%m/%d/%y")
  </code></pre>
  
  <p>(My dataset is <code>o1</code> and <code>Date</code> is the name of my Date column)</p>
  
  <p>My Date column has the following values  </p>
  
  <pre><code>"1/1/2013"  "1/1/2014"  "1/10/2013" "1/10/2014" "1/11/2013" "1/11/2014"
  </code></pre>
  
  <p>However when I convert the Char to Date I get the following Dates </p>
  
  <pre><code>"2020-01-01" "2020-01-01" "2020-01-10" "2020-01-10" "2020-01-11"
  </code></pre>
  
  <p>Any suggestions on what the problem could be and how to work around it?</p>