title: PHP: How to know if a date is in the current month?
body: <p>I need to know if a date is in the current month.</p>
  
  <p>Examples:</p>
  
  <ul>
  <li><p>If the date is 2018-<strong>06</strong>-30 and current month is June (06), then <strong>true</strong>.</p></li>
  <li><p>If the date is 2018-<strong>07</strong>-30 and current month is June (06), then <strong>false</strong>.</p></li>
  </ul>
  
  <p>I have a list of dates with more than 1000 dates and I want to show or colorize only the dates that belongs to a current month.</p>