What is the best way to calculate anniversary billing monthly with different lengths
We want to charge for storage say starting June 1st to July 1st and if the customer stays longer than July 1st we charge another amount for the next month but July has 31 says
If all months had 30 days the system would work fine
is there a calculation or formula we can use to fix this issue?