Hi,
I need to check the difference between the time in database and system time.I am having both the times in yy:mm:dd hh:mm:ss format.please reply me how to do this .very urgent.I am getting both the time in
string like
String calledtime=rs.getString("calledtime");
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss") ;
String currenttime = formatter.format (new Date()) ;
I am getting the output printed as
2008-05-02 16:52:17
2008-05-20 15:10:44
How can i check particularly the seconds now?
Thanks.