
          const hours = now.getHours();
          let timePeriod;

          if (hours >= 5 && hours < 12) {
            timePeriod = "morning";
          } else if (hours >= 12 && hours < 17) {
            timePeriod = "afternoon";
          } else {
            timePeriod = "evening";
          }

          // Format hours to 12-hour format
          let displayHours = hours % 12;
          if (displayHours === 0) displayHours = 12;

          // Get minutes with leading zero if needed
          const mi