moment.js를 활용,
moment().startOf('isoWeek')
moment().toDate()
const monthStart = moment().startOf('month').toDate()
const monthEnd = moment().endOf('month').toDate()
const recordsPerMonth = await WorkOutTime.find({
userId,
createdAt: {
$gte: monthStart,
$lte: monthEnd,
},
})