const today = new Date() const oneMonthAgo = new Date(today.getFullYear(), today.getMonth() - 1, today.getDate())