import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Date;class Test2 { public static String getDate(){SimpleDateFormat ft = new SimpleDateFormat("yyyy/MM/dd");Date dd = new Date();return ft.format(dd); } public static long getQuot(String time1, String time2){long quot ...