java中常用到的获取格式化时间字符串
//根据传过来的date参数得到制定格式的时间字符串public static String getCurrentDateTime3(Date date){SimpleDateFormat sdf = new SimpleDateFormat(“yyyy-MM-dd HH:mm:
//根据传过来的date参数得到制定格式的时间字符串public static String getCurrentDateTime3(Date date){SimpleDateFormat sdf = new SimpleDateFormat(“yyyy-MM-dd HH:mm: