 
 	uint8_t day = (uint8_t)atol(strtok(rtcBuffer, "|"));
 	uint8_t mon = (uint8_t)atol(strtok(NULL, "|"));
-	uint8_t year = (uint8_t)atol(strtok(NULL, "|"));
+	uint16_t year = (uint8_t)atol(strtok(NULL, "|")) + 2000;
 	uint8_t hour = (uint8_t)atol(strtok(NULL, "|"));
 	uint8_t min = (uint8_t)atol(strtok(NULL, "|"));
 	uint8_t sec = (uint8_t)atol(strtok(NULL, "|"));
 
 	rtc.setDate(day, mon, year);
-
 	rtc.setTime(hour, min, sec);
 }
 

	Serial.print("oat:\t\t");
	Serial.println(openAtTime);
	Serial.print("second remain:\t");
	Serial.println(openAtTime - getRtcTime());
	Serial.print("lock position:\t");
	Serial.println(isLocked ? "locked" : "open");
	Serial.println("---------------------");
}



	rtc.begin();

	if (SET_RTC)
	{
		rtc.setDate(10, 4, 2016);
		rtc.setTime(17, 38, 0);
	}

	if (SET_RTC || SHOW_TIME)
	{
