You should save the due date in the database. Then fetch it and compare it to the current date with PHP’s date_default_timezone_set()
and date()
functions and a simple if
construct.
http://php.net/manual/en/function.date-default-timezone-set.php
http://www.php.net/manual/en/function.date.php
0
solved Disable Button submit when over the due date [closed]