Amazon web services – Calculate billing for per day based on difference between start and end date
I have data in table as below: Account Id Amount Start_date End_date 123 10 2023-11-16 17:00:00 2023-11-16 18:00:00 123 10 2023-11-16 02:00:00 2023-11-17 02:00:00 123 20 2023-11-17 17:00:00 2023-11-17 18:00:00 123 30 2023-11-18 02:00:00 2023-11-20 02:00:00 123 10 2023-11-18 17:00:00…