https://thewallacehouseblog.blogspot.com/2023/05/group-and-sum-datetime-object-by-date.html
Group And Sum Datetime Object By Date In Javascript