Date & Time
|
|
|
|
<? //freely distributed
//idban 2000
$t=strtotime($d); $conv=date("n/j/Y",$t+(0*3600));
if ($conv == $d) {
echo "$d == valid";
} else { echo"$d should be $conv"; } ?>
|
|
|
Usage Example
|
scripts.php?d=2/29/2001
scripts.php?d=2/29/2004
|
|
|
Rate This Script
|
|
|
|