so if currentRunningTime = 2013-11-19 13:21:55.027
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); Calendar cal = Calendar.getInstance(); String currentRunningTime = dateFormat.format(cal.getTime()); //current time at which my program runs String sevenHoursPreviousTime = "";
|DO we need Java installed on a Windows PC and WHY ?||13||94|
|printing a file in reverse order is easy in recursion rather than in iteration||3||48|
|javap not working||8||35|
|servlet example issue||6||27|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
20 Experts available now in Live!