Add event by day name of particular month and year in fullcalendar using controller

Posted 3 months ago by kshitizmittal

I want to add event on each Tuesday of April 2019 using controller.

How I am adding events on a particular date.

$events[] = Calendar::event(
                        $value,
                        true,
                        new \DateTime($key),
                        new \DateTime($key),
                        true,
                        [
                            'color' => '#ffbf80',
                            'textColor' => '#000000',
                        ]
                    );

Please help me out !!!

Please sign in or create an account to participate in this conversation.