 	}
 
 
-	int hour = dt_now.hour;
+	int hour = dt_now.hour();
 
 	valcheck = 16;
 	for (int h=16; h>=12; h--)

	valcheck = valcheck / 2;
	}

	int day = dt_now.day;

	valcheck = 16;
	for (int d=21; d>=17; d--)

	valcheck = valcheck / 2;
	}

	int minute = dt_now.minute();

	valcheck = 32;
	for (int mm=11; mm>=6; mm--)
