1. new Date(2022,6, 0).getDate() //30