time

Discussion in 'Software' started by akarthik, Dec 2, 2011.

  1. akarthik

    akarthik

    Joined:
    Dec 2, 2011
    Messages:
    1
    Hi,
    I used below code to get time from system.
    time = String.valueOf(System.currentTimeMillis())

    I used above code in my application. If i ran my application in windows server, i got below value as time.
    1322861915609

    If i ran my application in Linux server, I got below value as time.
    1322870905630

    So my application does not in the linux server time. If i used windows server time in my application and run with linux server, Its working fine.

    How can rectify this problem. Please guide me....
    akarthik, Dec 2, 2011
    #1
    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. longshotjohn7

    Re: Same error message time and time again.

    longshotjohn7, Sep 3, 2003, in forum: Computer Support
    Replies:
    2
    Views:
    506
    Boomer :)
    Sep 3, 2003
  2. Forgotten Boy

    Audio just *quits" from time to time

    Forgotten Boy, Sep 4, 2003, in forum: Computer Support
    Replies:
    1
    Views:
    424
    W. Wallace
    Sep 5, 2003
  3. Quiz Time
    Replies:
    3
    Views:
    7,278
    ┬░Mike┬░
    Aug 25, 2004
  4. PS

    PC time and Server time

    PS, May 12, 2005, in forum: Computer Support
    Replies:
    3
    Views:
    638
    Dave Lear
    May 12, 2005
  5. Gustav
    Replies:
    8
    Views:
    655
Loading...

Share This Page