I'm trying to display the difference between two dates in order to calculate the monthly rent, I'm expecting the exact number of months and days because the contract is "monthly" so if it is February, March or April, the monthly amount is fixed. so let's say: Strat_D = 05-Aug-2020 End_D = 20-Sept-2020 I'm using this code to get number of days:
DateDiff("d",[Start_D],[End_D])
the output is: 45 , but expecting: 1 month & 15 days OR 1.5
and if I use:
DateDiff("m",[Start_D],[End_D])
output is: 1 , but expecting: 1.5
Thanks in advance