How do you calculate the number of hours (including minutes) that have elapsed between a $StartDate and $EndDate? I tried interval () but that dropped the minutes and only gives me whole hours. I need the total elapsed minutes that I can convert into hours or something like 7.5 hours. I suspect this is simple, but I can’t figure it out.