1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-12-01 01:05:02 +01:00
parent ac71fd4a50
commit 14f6603b90

View File

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