I have an Excel sheet that i'm trying to transcribe to a VB form in order to get equipment's up time from an input number.
Let's say that the calculation results in, ex: 4.391286731 that is the days total.
In Excel I applied:
=INT(col+row) &" Days " & HOUR(col+row) & " h " & MINUTE(col+row) & " m " & SECOND(col+row) & " s".
The return is 4 Days 9h 23m 27s perfect.
Now in VB, after getting the final calculation , ex: the same 4.391286731 how can I convert this total to a date/time format similar to the Excel one above?