1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-12-01 01:34:54 +01:00
parent b1a2adacf8
commit caee2eb331

View File

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