1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-12-01 01:36:11 +01:00
parent 3330e749bb
commit 7919a6af58

View File

@ -65,9 +65,9 @@ while ($user = $doldb->result->fetch_assoc())
} }
// vérification si l'utilisateur est à jour de cotisation // vérification si l'utilisateur est à jour de cotisation
$datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']); $datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']);
$interval = new DateInterval('P0000Y02M00D'); echo "vérification"; $interval = new DateInterval('P0000Y02M00D');
print_r($datefin); echo "vérification";
print_r($datefin);
$datefin->add($interval); $datefin->add($interval);
print_r($datefin); print_r($datefin);
if ( $datefin->getTimestamp() <= time() ) if ( $datefin->getTimestamp() <= time() )