salve a tutti
ho questo script funzionante, lasciandolo così naturalmente va tutti i giorni, è possibile indicare che deve andare solo ad un determinato giorno e come?
grazie
codice:
$now = new Datetime("now");
$begintime = new DateTime('16:00');
$endtime = new DateTime('17:00');

if($now >= $begintime && $now <= $endtime){
  
   $valorei = "titolo - autore";
} else {
    // not between times
}
Grazie