I have a Java application that I\'ve been working on and I just realized that the program has to return a value in less than a minute, but don\'t know how to find or display
If you just want to know how long does your program run use System.currentTimeMillis() in the beginning and end of your program.