$sql2 = "SELECT * FROM procedimientos WHERE identificacion = '$identificacion' AND (fecha BETWEEN '2004-01-01' AND '2004-01-31') LIMIT 0, 500";