How do you get the last day of the current month?
new Date().getLastDateOfMonth()
new Date().getMonthLastDate()
new Date().endOfMonth().getDate()
new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0).getDate()