Hi
I'm building a leave request app, and I want to convert a numerical value, corresponding to the number of workday hours, into a label showing how many days and hours the user has left.
In this case, each workday has 8 hours, so for example if the user has 165 hours left, I want that to translate to 20 days and 5 hours (although the operation 165 / 8 = 20.625 ends with a decimal).
Any suggestion on how can I convert this to days and hours remaining?
Much appreciated