Hi,
I'm trying to perform several manipulations to time values (all will be stored in a access database). I need to find the elapsed time between a start time and a finish time and I also need to be able to find the SUM of multiple time values.
I know how to do this first part of the using the following code but how do I add multiple time values together when they are in the "15:53:12" format?
TIA
Russ
Dim TimeStart, TimeStop As Date
Dim TimeDiff As TimeSpan
TimeStart = CDate(Me.txtTimeStart.Text)
TimeStop = CDate(Me.txtTimeStop.Text)
TimeDiff = TimeStop.Subtract(TimeStart)
Regards,
Russ
I'm trying to perform several manipulations to time values (all will be stored in a access database). I need to find the elapsed time between a start time and a finish time and I also need to be able to find the SUM of multiple time values.
I know how to do this first part of the using the following code but how do I add multiple time values together when they are in the "15:53:12" format?
TIA
Russ
Dim TimeStart, TimeStop As Date
Dim TimeDiff As TimeSpan
TimeStart = CDate(Me.txtTimeStart.Text)
TimeStop = CDate(Me.txtTimeStop.Text)
TimeDiff = TimeStop.Subtract(TimeStart)
Regards,
Russ