I have this code in a module:
Code:
Public Declare Function GetTickCount Lib "kernel32" () As Long
Dim lRtrn As Long
and this in a timer on the form:
Code:
lRtrn = GetTickCount
Label1.Caption = lRtrn
how can I format it to look like time? ie hh:mm:ss? I've tried the format(lRtrn, "hh:mm:ss"), but it says there is an overflow. What can I do to format it?

Thanks