title: If date is next week/next month/ next year
body: <p>I was wondering if it is possible to use PHP to figure out when a specific date it.</p>
  
  <p>For example:</p>
  
  <pre><code>// Next week
  $date-&gt;setDate(2014, 4, 3);
  
  if($date-&gt;format('Y-m-d') == NEXT_WEEK){
  // Do something
  }elseif($date-&gt;format('Y-m-d') == NEXT_MONTH){
  // DO something else
  }elseif($date-&gt;format('Y-m-d') == NEXT_YEAR){
  // Do something else
  }
  </code></pre>
  
  <p>I understand my code won't work, but I am looking for something that would achieve something similar to that?</p>