'2025-11-24 00:00:01', 'end' => '2025-11-25 00:00:01', 'message' => 'Eight days to cast your vote for the People\'s Choice winner in the Art of Science.'], ['start' => '2025-11-25 00:00:01', 'end' => '2025-11-26 00:00:01', 'message' => 'Seven days to cast your vote for the People\'s Choice winner in the Art of Science.'], ['start' => '2025-11-26 00:00:01', 'end' => '2025-11-27 00:00:01', 'message' => 'Six days to cast your vote for the People\'s Choice winner in the Art of Science.'], ['start' => '2025-11-27 00:00:01', 'end' => '2025-11-28 00:00:01', 'message' => 'Five days to cast your vote for the People\'s Choice winner in the Art of Science.'], ['start' => '2025-11-28 00:00:01', 'end' => '2025-11-29 00:00:01', 'message' => 'Four days to cast your vote for the People\'s Choice winner in the Art of Science.'], ['start' => '2025-11-29 00:00:01', 'end' => '2025-11-30 00:00:01', 'message' => 'Three days to cast your vote for the People\'s Choice winner in the Art of Science.'], ['start' => '2025-11-30 00:00:01', 'end' => '2025-12-01 00:00:01', 'message' => 'Two days to cast your vote for the People\'s Choice winner in the Art of Science.'], ['start' => '2025-12-01 00:00:01', 'end' => '2025-12-02 00:00:01', 'message' => 'Final day to cast your vote for the People\'s Choice winner in the Art of Science.'] ]; // Check if current date falls within any of the countdown ranges foreach ($countdownMessages as $countdown) { $displayStart = strtotime($countdown['start']); $displayEnd = strtotime($countdown['end']); if ($date >= $displayStart && $date < $displayEnd) { ?>