Subtracting two time values

N

Neil

Subtract one from the other using the date component as well as the time
component. Then multiply the resulting value (which will be in days) by 24
to get hours; 24 * 60 to get minutes; etc.

Neil
 
F

fredg

subtracting time values to be able to track how long each task takes.

Look up the DateDiff function in VBA help for all of the arguments.

=DateDiff("s",[Time1],[Time2])
 
Top