31
Views
6
Comments
Solved
How to get startDateTime and endDateTime in FullCalendarReactive v5

Hi,

I wanted to get startDateTime and endDateTime on click of timeGridDay in FullCalendarReactive v5. 

Note: not on event click.

2025-09-04 06-33-37
Nikhil___Vijay
Solution

Hello @Wasim Shaikh 

https://fullcalendar.io/docs/v5

This link have full details realted to your query 

Regards 

Nikhil kumar vijay

UserImage.jpg
Mohd Wasim Shaikh

Hi @Nikhil Kumar Vijay 

I checked that link, can you provide more details?


2025-09-04 06-33-37
Nikhil___Vijay
Solution

Hello @Wasim Shaikh 

https://fullcalendar.io/docs/v5

This link have full details realted to your query 

Regards 

Nikhil kumar vijay

UserImage.jpg
Mohd Wasim Shaikh
2022-05-02 13-50-49
Paulo Ritto

Hi Wasim,

You can get the event object by using the getEventById (eventid):
https://fullcalendar.io/docs/Calendar-getEventById


And then, with the event object, you can access the start datetime and end datetime by the attributes start and end  (event.start and event.end)

Let me know if this helped!


Cheers,

Paulo

UserImage.jpg
Mohd Wasim Shaikh

Hi @Paulo Ritto ,

I want it on click of calendar not on click of event

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.