This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Time Computation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Time Computation" Watch "Time Computation" New topic
Author

Time Computation

Mike Abayon
Greenhorn

Joined: Jun 14, 2001
Posts: 8
I just want to know how to get the employee's time-in/time-out and compute the difference.
Formula:
TotalTime= Timeout - Timein
Thanks.
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Use System.currentTimeMillis()
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Time Computation
 
Similar Threads
WA #2 ..... word association
JQ+
Scrabble... it only takes a minute...
WA #1.....word association
Riddle