|
-
Dec 30th, 2003, 01:11 PM
#1
Thread Starter
New Member
Time manipulations
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|