Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > time

Reply
 
 
akarthik akarthik is offline
Junior Member
Join Date: Dec 2011
Posts: 1
 
      12-02-2011
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....
 
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
Is time.time() < time.time() always true? flamesrock Python 8 11-24-2006 06:51 AM
Re: interpreting the fractional portion of time.clock() vs time.time(0measurements Peter Hansen Python 0 02-22-2006 02:02 PM
Re: interpreting the fractional portion of time.clock() vs time.time()measurements Peter Hansen Python 0 02-22-2006 12:03 AM
time.clock() or time.time() peterbe@gmail.com Python 8 08-05-2005 01:51 PM
delta time = time stop - time start engsol Python 2 01-26-2004 12:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57