   }
 }
 
-String convertGMTTimeToLocal(String timeS, String latitude, String longitude, int* riseI, int* setI)
+String convertGMTTimeToLocal(String timeS, String latitude, String longitude,
+                             int* riseI, int* setI, int* monthI, int* dayI, int* yearI)
 {
   double rise, set;
 

  String windSpeed = root["list"]["wind"]["speed"];
  String windDirection = root["list"]["wind"]["deg"];

  int riseI;
  int setI;
  timeS = convertGMTTimeToLocal(timeS, latitude, longitude, &riseI, &setI);

  int length = temperature.length();
  if (length == 5)

  int month = monthS.toInt();
  String dayS = timeS.substring(8, 10);
  int day = dayS.toInt();
  *monthI = month;
  *dayI = day;
  *yearI = year;

  timeS = timeS.substring(length - 8, length - 6); // Strip out the hours
  int time = timeS.toInt();

