' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
Function datediff()
   Dim d1 As Date
   Dim d2 As Date
   d1 = "15:21:33"
   d2 = "15:23:03"
   dd = DateDiff("s", d1, d2)
   MsgBox CStr(dd)
End Function
