reactjsfullcalendar

Get the current displayed month


I need to get the current month that is currently displayed (the one in the title). I used the following:

info.view.currentStart

but the problem is that it gives the first day that is displayed, and it can belong to the previous month.

is this information available somewhere ?

thanks in advance!


Solution

  • The difference is the following:

    My problem was that I forgot that in Javascript the month numbers start with 0, and had to add 1 to get the correct month