long startTime = System.currentTimeMillis(); System.out.println("start getting super session: " + startTime); long endTime = System.currentTimeMillis(); System.out.println("end getting super session: " + endTime); System.out.println("time taken in seconds: " + (endTime - startTime)/1000); System.out.println("time taken in mill seconds: " + (endTime - startTime));