echo date_diff
($dateNow, $tourChange_d);
Message: date_diff() expects parameter 1 to be DateTimeInterface, string given
to zrobilem tak:
$d1 = new DateTime($dateNow);
$d2 = new DateTime($tourChange_d);
echo date_diff
($d1, $d2);
Message: Object of class DateInterval could not be converted to string
przeciez te daty tu już nie stringi?