Go Back   Java Programming Forums > Java Standard Edition Programming Help > Java SE APIs


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-08-2009, 01:39 PM
Junior Member
 

Join Date: Jul 2009
Posts: 10
Thanks: 5
Thanked 0 Times in 0 Posts
Dave is on a distinguished road
Default System.CurrentTimeMilliseconds

Hello

after discussing witha professor i have been told that it is possble to use System.CurrentTimeMilliseconds to store the time.

i would like to know how to do this and if it is also possible to show a message if there has been a sudden change of 5 minutes or more

Thanks
Dave



Reply With Quote Share this thread on Facebook
Sponsored Links
Java Training from DevelopIntelligence
  #2 (permalink)  
Old 26-08-2009, 04:02 PM
JavaPF's Avatar
mmm.. coffee
 
7 Highscores

Join Date: May 2008
Location: United Kingdom
Posts: 1,585
Thanks: 104
Thanked 93 Times in 86 Posts
JavaPF is someone you want to know!JavaPF is someone you want to know!JavaPF is someone you want to know!

I'm feeling Mellow
Default Re: System.CurrentTimeMilliseconds

System.out.println(System.currentTimeMillis());

I don't think this is the best option though Dave. The code I gave you in your other thread works exactly as desired.

I'm looking into making it recognise a 5 minute change at the moment..
__________________
Don't forget to add syntax highlighted code tags around your code: [highlight=Java] code here [/highlight]

Forum Tip: Add to peoples reputation () by clicking the button on their useful posts.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On



Similar Threads
Thread Thread Starter Forum Replies Last Post
System Wide Mouse/Keyboard Hook Freaky Chris Java Native Interface 17 17-06-2009 06:06 PM
[SOLVED] mobile operating system blackJava Mobile Applications 3 16-04-2009 07:44 PM


100 most searched terms
Search Cloud
actionlistener actionlistener in java addactionlistener addactionlister buffered read two integer value in java cannot find symbol method create an abstract class called shape with abstract methods+java double to integer in java double to integer java eclipse shortcut keys exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space format double java get files from folder java by threads get mouse position java how to convert list to map in java how to format double in java how to format doubles in java how to make a calculator in jframe using jcreator http://www.javaprogrammingforums.com/object-oriented-programming/3713-limiting-decimal-places-double.html java actionlistener java cos java deallocate java double format java double to int java font attributes java format double java forum java forums java get mouse position java heap size exception java jbutton java nextline() java program to find dimensions of a room java programming codes using astirisks java programming forum java programming forums java.lang.classformaterror: truncated class file java.lang.outofmemoryerror: java heap space java.lang.reflect.invocationtargetexception jbutton actionlistener jbutton with key enter jtable questions in java jtext bold jtextarea font jxl.read.biff.biffexception: unable to recognize ole stream mean value decimal double java oops java assignments smack api messagelistener two dimensional arraylist in java typecast in java

All times are GMT. The time now is 09:24 AM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.