PHP Past time validation
<p>I have a problem here validating the time of my $input on PHP.
My input has a value of </p>

<blockquote>
  <p>yy-mm-dd hh:mm PM/AM</p>
</blockquote>

<p>If the selected date is past or today it will got an error. How can I do that?</p>

<p>any help is a gratitude. Thanks.</p>
