Index: client/src/Dashboard/components/Task.jsx
===================================================================
--- client/src/Dashboard/components/Task.jsx	(revision b69991ede47fec8697cb0066d1395ee768112ee1)
+++ client/src/Dashboard/components/Task.jsx	(revision 3397b8c686c512cfa86b5ba529e74252e805537e)
@@ -10,4 +10,13 @@
   const user = JSON.parse(localStorage.getItem("user")) || { attempts: 0 };
   const navigate = useNavigate();
+
+  useEffect(() => {
+    const now = new Date();
+    let initialEffectiveDate = new Date(now);
+    if (now.getHours() < 7) {
+      initialEffectiveDate.setDate(now.getDate() - 1);
+    }
+    setEffectiveTaskDate(initialEffectiveDate.toLocaleDateString());
+  }, []);
 
   useEffect(() => {
