     }
     else { /*Either Pole*/ }
 
-    int currentClock = time.min + (time.hr * 100); //converting it into "Militray" way of timing makes easier to compare.
+    int currentClock = rtcTime.min + (rtcTime.hr * 100); //converting it into "Militray" way of timing makes easier to compare.
     isItDayTime = currentClock > (Times[0] * 100) + Times[1] && currentClock < (Times[2] * 100) + Times[3];
     /*
     i.e. 

const int kCePin   = 12;  // Chip Enable

#define TIMEZONE  3         //Time zone in hours
#define LATITUDE  44.361343 //These are for Najaf, Iq. Yours can be obtained easily from any maps provider like Bing or Google.
#define LONGITUDE 32.011302


#ifdef DEBUG 
char buffer[80]; //We need it only to print the output for debugging.
#endif
bool isItDayTime = false, isItAutoMode = true; //The name says everything :3

DS1302 rtc(kCePin, kIoPin, kSclkPin); //RTC Instance.

