In the spirit of "keep it simple stupid", i would probably suggest the following. Ignore that these are times and think of each of them seperatly. This is untested, but i don't see why it would not work in a simple fasion.
if (($current[0] == $wake[0]) && ($current[1] == $wake[1])) {
# times match
}
may the foo be with you