I have the following dates:
data atual: 2018-02-11 20:14:40
data expiracao: 2018-02-12 19:57:10
I need to make a comparison between one and another.
if($dados['transacao']->data_expira <= date("Y-m-d H:i:s")){
echo "Ainda está dentro do prazo";
} else {
echo "Você não pode mais efetuar o pagamento desta cobrança.";
}
By logic, it would be right, though, does not work. He insists on telling me that I'm out of time. I've been using the example posted here at this SPO link:
What can I do to adjust?