jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes get the current time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "get the current time" Watch "get the current time" New topic
Author

get the current time

Jackie Wang
Ranch Hand

Joined: Apr 18, 2002
Posts: 315
I would like to print out the current time precise to millisecond to the console. right before the whole program is run and right after the program is run, what should i do?
thanks!
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
Depending on what exactly you want to accomplish, there are different options:

OR

OR

... and many other choices and options. Pick whatever suites you best
Eugene.
Jackie Wang
Ranch Hand

Joined: Apr 18, 2002
Posts: 315
thanks for the prompt response eugene, apprecicated htat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: get the current time
 
Similar Threads
Whizlabs not working
about pathname.
need an application to run at a particular moment in the day
Imorting packages
PrintWriter append