From ba9403455aede65646ea0d2add09a18860c7000f Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Dec 2019 01:11:32 +0100 Subject: [PATCH] debuggage --- nconnector.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index fd385ce..fba2e09 100755 --- a/nconnector.php +++ b/nconnector.php @@ -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() ) {