compares two clock times