Date Comparison with PHP [duplicate]

0
        if ($data_sistema > $_POST['cliente_data']){        
            echo "Aprovado! Data dentro do prazo!";
        }else{ 
            echo "Reprovado! Data fora do prazo!";  
        }

If the date informed by the system that is also calculated through the customer response is greater than the date reported by the customer approves! If this is a minor problem, this way I did not work the dates correctly then in DAY / MONTH / YEAR value

    
asked by anonymous 08.05.2018 / 16:11

0 answers