G
Guest
I am using DateDiff in a query to give the number of months between 2 dates -
DateDiff("m",[FirstDate],[SecondDate]). If the number of days between each
date is less than 15, it rounds down to zero. I need it to round up any
fractions of months. Can anyone help?
I tried -Int(-DateDiff("m",[FirstDate],[SecondDate])]) but it didn't have
any effect on the result.
DateDiff("m",[FirstDate],[SecondDate]). If the number of days between each
date is less than 15, it rounds down to zero. I need it to round up any
fractions of months. Can anyone help?
I tried -Int(-DateDiff("m",[FirstDate],[SecondDate])]) but it didn't have
any effect on the result.