I want to get enddate by + 1 day
$data=[
"title" =>$event->event_name,
"start" =>$event->start_date,
"end" =>new \DateTime($event->end_date.'1 day'),
"textColor" =>"white",
"backgroundColor" =>"black",
];
but the code make the fullcalendar not show any data in the view how to make it works + 1 day? thanks before
Try this code it's work.