I wanted to check between 2 dates if it is a month or months after.
Example Input
startdate : 2020-01-31 enddate: 2020-02-12
If 1 month have passed or more from startdate to enddate then return true else false.
What I have tried
var now = new Date();
//current = new Date(now.getFullYear(), now.getMonth()+1, 1);