public static String getStringToday() {
        Date currentTime = new Date();
        SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd HHmmss");
        String dateString = formatter.format(currentTime);
        return dateString;
    }
public static String getStringToday() {
        Date currentTime = new Date();
        SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd HHmmss");
        String dateString = formatter.format(currentTime);
        return dateString;
    }
public static String getStringToday ( ) { Date currentTime = new Date ( ) ; SimpleDateFormat formatter = new SimpleDateFormat ( "yyyyMMdd HHmmss" ) ; String dateString = formatter . format ( currentTime ) ; return dateString ; }
得到现在时间

@return 字符串 yyyyMMdd HHmmss
得到现在时间