note 77408 modified in function.checkdate by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 02:30:12 +0000 |
| Subject: | note 77408 modified in function.checkdate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141965@lists.php.net to get a copy of this message | ||
for checking the rime use this:
<?php
function checktime($hour, $minute) {
if ($hour > -1 && $hour < 24 && $minute > -1 && $minute <
60) {
return true;
}
}
?>
--was--
for checking the rime use this:
function checktime($hour, $minute) {
if ($hour > -1 && $hour < 24 && $minute > -1 && $minute <
60) {
return true;
}
}
http://php.net/manual/en/function.checkdate.php