title: I have a column of dates, how to filter dates before a specific day? R
body: <p>This is my data</p>
  <pre><code>print(data)
       mydates
  1   9/17/2019
  2   3/8/2020
  3   9/20/2020
  4   7/19/2020
  5   10/22/2020
  6   9/12/2020
  </code></pre>
  <p>I want to filter so I only see dates in September, but it is not working.</p>
  <p>This is my code</p>
  <pre><code>data$mydates &lt;- as.Date(data$mydates, format = &quot;%m/%d/%Y&quot;)
  
  Septdata &lt;- data %&gt;% filter(mydates &lt; '2020-01-09')
  
  ```
  
  Is this correct?
  </code></pre>