 	valcheck = valcheck / 2;
 	}
 
-	int minute = dt_now.minute;
+	int minute = dt_now.minute();
 
 	valcheck = 32;
 	for (int mm=11; mm>=6; mm--)

	valcheck = valcheck / 2;
	}

	int day = dt_now.day;

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

	valcheck = valcheck / 2;
	}

	int second = dt_now.second();

	valcheck = 32;
	for (int s=5; s>=0; s--)
