diff --git a/php/src/controleur/CtrlComment.php b/php/src/controleur/CtrlComment.php
index a93b476dd93d01b7c132cac05a01bab71ca1812d..e4abafc92ea4f9b4d28361e7653dc00465f7510a 100644
--- a/php/src/controleur/CtrlComment.php
+++ b/php/src/controleur/CtrlComment.php
@@ -5,7 +5,7 @@ namespace bddApp\controleur;
 use bddApp\model\Comment;
 use bddApp\vues\VueComment;
 use bddApp\model\User;
-use Slim\Slim;
+use Carbon\Carbon;
 
 class CtrlComment
 {
@@ -28,6 +28,7 @@ class CtrlComment
         $comm->email = $json["email"];
         $comm->title = $json["title"];
         $comm->content = $json["content"];
+        $comm->created_at = Carbon::now();
         $comm->save();
     }
 }
\ No newline at end of file