                   temperature,
                   timeS,
                   idString.toInt(),
-#ifdef DISPLAYDATE // Display the date
                   dateS,
-#else              // Display the day of week
                   dayI,
                   monthI,
                   yearI,
-#endif
                   description);
   }
 } // void getWeatherData()

  client.stop(); //stop client

#ifdef DEBUG
  Serial.println(result);
#endif
  result.replace('[', ' ');
  result.replace(']', ' ');

  tft.print("% RH");
  tft.setTextColor(YELLOW);
  tft.setTextSize(1);
  maxLeghtOfParam = std::min((int)dateS.length(), 22); // Limit characters
  String theDayOfWeek = getDayOfWeek(dayOfWeek(yearI, monthI, dayI));
  maxLeghtOfParam = maxLeghtOfParam + std::min((int)theDayOfWeek.length() + 1, 22); // Limit characters
  tft.setCursor((11 - (maxLeghtOfParam / 2)) * 4, 150); // Center text
  tft.print(theDayOfWeek);
  tft.print(" ");
  tft.print(dateS);
}

void printWeatherIcon(int id)
