Ver original$fecha1 = "12/05/2001";$fecha2 = "15/06/2002"; if ( strtotime($fecha1) < strtotime($fecha2) ) {//aqui lo que hagas}