PHP:
$bericht .= "<tr><td>Start down time: </td><td width='350px'>".$startDate->format($outputDateFormat) .' '. $startDate->getTimezone() . "</td></tr>";
$bericht .= "<tr><td>End down time: </td><td width='350px'>".$endDate->format($outputDateFormat) .' '. $endDate->getTimezone() . "</td></tr>";
Ik heb het zo ingevoegd de stukjes die je gemaakt had, maar hier op de regel gaat het fout.
ik krijg deze error. Call to a member function format() on a non-object in
Ik heb me format zo opgemaakt.
$outputDateFormat = 'mm/dd/yyyy hh:mm o';