PLEASE HELP: How to Get Accurate Time?

Discussion in 'Java' started by Amit, Sep 7, 2004.

  1. Amit

    Amit Guest

    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
    Amit, Sep 7, 2004
    #1
    1. Advertising

  2. 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
    Andrew Thompson, Sep 7, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. KK
    Replies:
    2
    Views:
    550
    Big Brian
    Oct 14, 2003
  2. flamesrock
    Replies:
    8
    Views:
    450
    Hendrik van Rooyen
    Nov 24, 2006
  3. Can I print more accurate time?

    , Feb 24, 2006, in forum: C Programming
    Replies:
    1
    Views:
    269
    Ian Collins
    Feb 24, 2006
  4. Replies:
    9
    Views:
    285
    Richard
    Mar 10, 2007
  5. iMath
    Replies:
    8
    Views:
    195
    Steven D'Aprano
    Oct 9, 2012
Loading...

Share This Page