I looking for some help in completing the code below for use within an
access app. I currently attach my database to an application which
stores a swimmer's time. The problem I'm having is that the the
swimmer's time within the table displays 67.62 seconds. The code below
modifies this to read 00:01:08:00. I'm hoping someone could help with
getting the code to display 00:01:07.62
Public Function TimerStuff(TimeElapsed As Double) As String
Dim Seconds As Double
Dim Minutes As Double
Dim Hours As Double
Dim A As String
'Find The Seconds
Seconds = TimeElapsed Mod 60
'Find The Minutes
Minutes = (TimeElapsed \ 60) Mod 60
'Find The Hours
Hours = (TimeElapsed \ 3600)
'Format The Time
If Hours >= 0 Then
A = Format(Hours, "00") & ":"
End If
A = Format(Hours, "00") & ":"
A = A & Format(Minutes, "00") & ":"
A = A & Format(Seconds, "00.00")
TimerStuff = A
End Function