Don't use a Date type field to store durations: it isn't intended for that
purpose. Instead, use the DateDiff function to determine the number of
seconds between the two times (DateDiff("s", timeStart, timeEnd)) and simply
add uip the number of seconds. You may want to write a function that will
convert from total seconds to hh:mm:ss format:
Function FormatSeconds(DurationInSeconds As Long) As String
Dim lngHours As Long
Dim lngMinutes As Long
Dim lngSeconds As Long
lngHours = DurationInSeconds \ 3600
lngMinutes = DurationInSeconds Mod 3600
lngSeconds = lngMinutes Mod 60
lngMinutes = lngMinutes \ 60
FormatSeconds = lngHours & ":" & _
Format(lngMinutes, "00") & ":" & _
Format(lngSeconds, "00")
End Function
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"K" <(E-Mail Removed)> wrote in message
news:C9CA593D-3518-4046-97D8-(E-Mail Removed)...
> Good day,
>
> I would like to capture the elapsed time down to the second. So far I have
> two fields. One is timeStart and one is timeEnd. For example:
>
> I have a time recorded say start = 00:00 and end = 00:56 for one
particular
> observation. I can have up to 50 observations. The next observation would
be
> from Start = 00:56 to whatever the end.
>
> I am basiclly performing time & motion studies. At the end of the
> observations I would like to sum the totals into a total time value in
> munutes seconds.
>
> Any help would be greatly appreciated.
>
> Thanks in advance.