title: Check if time X has less than 15 minutes from time Y
body: <p>Here is what I am trying to solve.</p>
  
  <pre><code>$nextAppt = "3:45:23";
  $keydata = "3:40:10";
  </code></pre>
  
  <p>I am trying to evaluate weather <code>$nextAppt != $keydata &amp;&amp; is not less than 15 minutes to $keydata</code>.</p>
  
  <p><code>$keydata</code> by the way is an <code>array</code> of times that I am checking <code>$nextAppt</code> against.</p>
  
  <pre><code>foreach ($taken_time as $keydata ) {
      $moredata = strtotime("+15 minutes", strtotime($keydata))
      if($nextAppt != $keydata &amp;&amp; $taken_time &lt; $moredata ){  
      }
  }
  </code></pre>