The divide by 60 is understood. It is changing it from the decilam form on the minute to a form that reports it in the number of minutes and seconds 00:00. I know that 156 seconds is 2.6 minutes what I need reported is 2:36.
Public Function MinsAndSecs(Seconds As Long) As String
Dim mins As Long, secs As Long
mins = Int(Seconds / 60)
secs = Seconds - (mins * 60)
MinsAnd Secs = CStr(mins) & ":" & CStr(secs)
End Function
Rick Sprague
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.