AccessUser22
Technical User
Hello,
I have a field that stores StartTime and a field that stores EndTime in my database. I want to get the total hours so I'm using DateDiff(hour, starttime, endtime) but that's giving me a rounded number of hours. I want the hour and minutes in decimal but rounding up every 15 minutes. Example if the datediff equals 5 hours and 5 minutes, I would want to see it displayed as 5.25. Anyone know how to do this?
I have a field that stores StartTime and a field that stores EndTime in my database. I want to get the total hours so I'm using DateDiff(hour, starttime, endtime) but that's giving me a rounded number of hours. I want the hour and minutes in decimal but rounding up every 15 minutes. Example if the datediff equals 5 hours and 5 minutes, I would want to see it displayed as 5.25. Anyone know how to do this?