I found this DateDifference Function in another area and modified it to include the seconds portion. You could 'adjust' it to work for you by changing the final
DateDifference = .... so that only the 00:00:00:00 portion is returned.
------------------------------------
Public Function DateDifference(Date1 As Date, Date2 As Date) As String
Dim days As Double
Dim hours As Double
Dim minutes As Double
Dim seconds As Double
Dim difference As Double
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.