new Date(date.getFullYear(), date.getMonth(), 1) code example Example: javascript get current day of month new Date().getDate();//gets day of month (1-31)