diff --git a/entity/course_format_iena_cron_action.php b/entity/course_format_iena_cron_action.php
index 251c750e239de633f42121b46a01bb27635c8f53..e6c6150083918351bafa8b00199221df706d8c07 100644
--- a/entity/course_format_iena_cron_action.php
+++ b/entity/course_format_iena_cron_action.php
@@ -174,8 +174,8 @@
 			$messageContent .= "<h1>Rappel</h1>";
 			$messageContent .= "<h2>$course->fullname</h2>";
 
-			$date_jour = date('d/m', strtotime($section->daterendu));
-			$date_heure = date('H:i', strtotime($section->daterendu));
+			$date_jour = date('d/m', $section->daterendu);
+			$date_heure = date('H:i', $section->daterendu);
 
 			// 0 : NC
 			// 1 : work in the classroom