.getMonth() not working

Hello Wix Corvid Community.
So, I am using the wix method .getMonth() to get the month value from a user input calendar.
However, I used console.Log() to see what the month was saying it was, and when i select a month such a july, value should be 7, but the console is outputting 6. any month I do, the month value that is pulled from the calendar user input is off by 1.
Any ideas?

The month is returned as a number from 0 to 11. See the Javascript documentation on getMonth() .