Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > PLEASE HELP: How to Get Accurate Time?

Reply
Thread Tools

PLEASE HELP: How to Get Accurate Time?

 
 
Amit
Guest
Posts: n/a
 
      09-07-2004
Hi!

I am trying to get system time in accurate milliseconds units (for example
582ms).
I use the method System.currentTimeMillis() in jdk 1.2.2, on Windows 98
platform. I manage to get accuracy of up to 10 milliseconds units only (for
example either 580 ms 0r 590 ms). How can I get higher resolution?

Thanks a lot for your advice!
Amit


 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      09-07-2004
On Tue, 7 Sep 2004 16:59:32 +0300, Amit wrote:

> Hi!


ECHO, Echo.., echo....,

Please do not multi-post, Amit.
<http://www.physci.org/codes/javafaq.jsp#xpost>

See the answer I already gave you.

> Thanks a lot for your advice!


No worries, any time ( well OK,
...once *each* time .

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To get the accurate value of 1 - 0.999999999999999 ,how to implement the python algorithm ? iMath Python 8 10-09-2012 11:39 AM
How to get a very accurate time when CPU does heavy tasks? lialie@gmail.com C Programming 9 03-10-2007 12:01 AM
TBird: Unread NewsGroup Message Count Never Accurate Herb Firefox 4 03-29-2005 02:00 AM
Cisco Router News Up to Date and Accurate Ben Nelson Cisco 0 01-02-2004 07:47 AM
Cisco Router Equipment news accurate and up to date. Ben Nelson Cisco 0 12-20-2003 02:28 AM



Advertisments