title: Date difference with custom format
body: <p>I know there's a lot around here but for many articles I read and test this simply don't work..</p>
  
  <p>I'm saving date with ACF like d.m.y and reading too.</p>
  
  <p>When I make this type of comparison it works BUT only for the current month. No matter what I do, this is the working thing I've done that works, any advise please?</p>
  
  <pre><code>if(strtotime(date('d.m.y')) &gt; strtotime($cd_date_from)) {
     $output .= ' class="event-passed"';
  }
  </code></pre>
  
  <p>This means that I'm hiding only the event on the table row that the date is older than today (showing today).
  If the date is 15.03.19 or 28.03.19 it shows BUT if it's 15.04.19 (other month) it don't.</p>
  
  <p>Thank you in advance</p>