Index: backend/controllers/taskController.js
===================================================================
--- backend/controllers/taskController.js	(revision c01bee279ddaa0c7426b40e2f266618e4fa9e88f)
+++ backend/controllers/taskController.js	(revision 12803c4f7bc8c17db47d069389361c46a2228099)
@@ -71,29 +71,27 @@
 const getTaskByDate = async (req, res) => {
   try {
-    // const now = new Date();
-
-    // const year = now.getUTCFullYear();
-    // const month = now.getUTCMonth();
-    // const day = now.getUTCDate();
-
-    // let effectiveDay = day;
-    // if (now.getUTCHours() < 7) {
-    //   effectiveDay = day - 1;
-    // }
-
-    // const startOfEffectiveDay = new Date(
-    //   Date.UTC(year, month, effectiveDay, 0, 0, 0, 0)
-    // );
-
-    // const startOfNextDay = new Date(startOfEffectiveDay);
-    // startOfNextDay.setUTCDate(startOfEffectiveDay.getUTCDate() + 1);
-
-    const startOfDay = new Date("2025-07-08T00:00:00.000Z");
-    const endOfDay = new Date("2025-07-09T00:00:00.000Z");
+    const now = new Date();
+
+    const year = now.getUTCFullYear();
+    const month = now.getUTCMonth();
+    const day = now.getUTCDate();
+
+    let effectiveDay = day;
+    if (now.getUTCHours() < 7) {
+      effectiveDay = day - 1;
+    }
+
+    const startOfEffectiveDay = new Date(
+      Date.UTC(year, month, effectiveDay, 0, 0, 0, 0)
+    );
+
+    const startOfNextDay = new Date(startOfEffectiveDay);
+    startOfNextDay.setUTCDate(startOfEffectiveDay.getUTCDate() + 1);
+
     let tasks = await prisma.challenges.findMany({
       where: {
         solving_date: {
-          gte: startOfDay,
-          lt: endOfDay,
+          gte: startOfEffectiveDay,
+          lt: startOfNextDay,
         },
         expired: false,
