0
Hello guys good night !
I am with this code in php working his function is to inform if the current time is in the range between 8 to 12
Good is working the problem and I need him to report only from Monday to Friday example: if it is Saturday ,or Sunday I do not want to display anything neither the if and neither the Else this would be possible ?
$hora = date('H');
if($hora >= "08" AND $hora < "12"){
echo "OK";
}else{
echo "Não ok..";
}
Thanks buddy it worked out !
– Hemerson Prestes
I put this variable $diadasemana in place of the $weekday worked !
– Hemerson Prestes
You were very crafty @Hemersonprestes congratulations =) ... Sorry it was typo, now it’s fixed
– Guilherme Nascimento