That means 12 hours = 0.5, 6 hours = 0.25, and so on.
Hours come from column C, minutes from column D, and seconds are hardcoded as zero.
However, after 31 days, Excel will reset days to zero.
This does not affect hours, which will continue to display properly with the number format [h].
Unfortunately, a custom number format like [d] is not supported.
TheINT functionsimply returns the integer portion of the number (days).
TheTEXT functionis used to format hours and minutes.
The TIME function is useful when you want to assemble a proper time inside another formula.