title: how to check if time is more than 30minute?
body: <p>I have saved a time. I would like to check whether the saved time is 30 minutes greater than the current time. You can see in the code what I have done so far but it doesn't work. </p>
  
  <p>I would need some help fixing that code.</p>
  
  <pre><code>$current = "08:05";
  $to_check = date('h:i');
  
  if($to_check &gt; $current + strtotime('30 minute')){
      echo "greater";
  }
  else {
    echo "not greater";
  }
  </code></pre>