You basically need to take the previous recorded time and compare it with the latest time and work out the difference.
I would use String replace on the time. For example 10:01:45, replace the :...
Type: Posts; User: JavaPF
You basically need to take the previous recorded time and compare it with the latest time and work out the difference.
I would use String replace on the time. For example 10:01:45, replace the :...
No problem Dave. Has this solved your issue?
How about this?
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.io.*;
public class DavesTimer {