1
0
Fork 0

debuggage

This commit is contained in:
Daniel Tartavel 2019-12-01 01:11:32 +01:00
parent 14f6603b90
commit ba9403455a
1 changed files with 2 additions and 1 deletions

View File

@ -65,8 +65,9 @@ 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']);
print_r($datefin);
$interval = new DateInterval('P0000Y02M00D');
print_r($interval);
$datefin->add($interval);
if ( $datefin->getTimestamp() <= time() )
{