Ver original$hora1 = "03:05:01";$hora2 = "04:04:02"; if (strtotime($hora1) < strtotime($hora2)) echo "SI";