How do I convert hh:mm:ss to an absolute number (26:01:32 to 26)?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am attempting to calculate a duration by subtracting the end date and time
from the beginning date and time, and would like a absolute number returned.

For example: Start=10/25/2005 10:30 End=10/26/2005 12:30 which results in
26:00:00 in time format or 1.08 in number format. I need just 26. Does anyone
have a way to convert either result to an absolute value of 26?

Thanks for the help.
 
I do it with a cell format. In the custom format I use:
[h];@ It trims it down to just the hour.
 
Back
Top