I am using DateDiff to retrieve amount of Months. This number is later used to divide against a count of patients seen in the date range initially supplied through an input form.
The problem I am having is that by using "M" portion of datediff I can only retrieve whole numbers. It doesn't even round up or down. Is there anyway I can get non whole numbers from using datediff or will I need to use a different function?. I would love to be able to yield say 6.34 months as it would be more accurate for later division. The reason why I am using the "M" portion instead of days is that I have to have included a count of patients going back 15 months from the end date of the inputted date range, thus I think I'm committed to working with months and hopefully fractions of months.
Any help would be appreciated
The problem I am having is that by using "M" portion of datediff I can only retrieve whole numbers. It doesn't even round up or down. Is there anyway I can get non whole numbers from using datediff or will I need to use a different function?. I would love to be able to yield say 6.34 months as it would be more accurate for later division. The reason why I am using the "M" portion instead of days is that I have to have included a count of patients going back 15 months from the end date of the inputted date range, thus I think I'm committed to working with months and hopefully fractions of months.
Any help would be appreciated