Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 18011
Number of posts: 55384

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Time Now() in milliseconds?? Posted by lisa_sarge on 2 Mar 2005 at 4:17 AM
Hi
Im performing a benchmark in visual basic and the times are all less than a second and i cannot seem to get visual basic to format the time now so that it gives milliseconds. I would be gratefull if anyone could help with this problem.

Lisa
Report
Re: Time Now() in milliseconds?? Posted by Trampas on 2 Mar 2005 at 5:03 AM
Lisa,

Have you tried the timer command.

varTime1 = Timer

The only problem with the timer command is that it is how many secs from midnight but i think it gives it in less than a sec.

Might be some help and you can adjust the figures in an excel file if needs be.

: Hi
: Im performing a benchmark in visual basic and the times are all less than a second and i cannot seem to get visual basic to format the time now so that it gives milliseconds. I would be gratefull if anyone could help with this problem.
:
: Lisa
:

Report
Re: Time Now() in milliseconds?? Posted by lisa_sarge on 2 Mar 2005 at 7:22 AM
Thanks for the suggestion but i have found another way around it


Lisa


: Lisa,
:
: Have you tried the timer command.
:
: varTime1 = Timer
:
: The only problem with the timer command is that it is how many secs from midnight but i think it gives it in less than a sec.
:
: Might be some help and you can adjust the figures in an excel file if needs be.
:
: : Hi
: : Im performing a benchmark in visual basic and the times are all less than a second and i cannot seem to get visual basic to format the time now so that it gives milliseconds. I would be gratefull if anyone could help with this problem.
: :
: : Lisa
: :
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.