title: strtotime making all dates have the current year
body: <p>Working on a legacy application that is getting replaced at the end of next year. I am trying to modify how it writes some of the dates into the database and I'm just not familiar enough with PHP to figure out why it is doing this:</p>
  
  <p>There is a date selector on the front-end. If you pick something like 1 Dec, 2019, it goes through jquery retaining that date, right before it is passed into the below function it is right, then it gets into the function and the <code>strtotime($str)</code> messes it up.</p>
  
  <p>It converts 1 Dec, 2019 into <code>1543724340</code> which dropping into an UNIX timestamp shows it as 1 Dec, 2018.</p>
  
  <p>How do I prevent this? I'm just trying to get the date for what the user sets in the calendar. </p>
  
  <pre><code>function str2date($str,$format="Y-m-d") {
      return date($format, strtotime($str));
  }
  </code></pre>