|
-
Mar 26th, 2000, 01:22 AM
#1
Thread Starter
New Member
How can I get system time including milliseconds?
All I can get at the moment is hh:mm:ss,
I really need the milliseconds as well,
eg. hh:mm:ss:milliseconds.
Any help appreciated.
-
Mar 26th, 2000, 01:32 AM
#2
transcendental analytic
Try this:
caption=Time & "," & Right(Int(Timer * 100), 2)
-
Mar 27th, 2000, 08:12 PM
#3
New Member
Use the timeGetTime function. It returns the system time in milliseconds.
For example, in the declarations section of your project
Public Declare Function timeGetTime Lib "winmm.dll" () As Long
Dim lTime As Long
then wherever you want to get the time
lTime = timeGetTime
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|