public static String formatDateStr(Date date, String MaskStr) {
		String retStr = "";
		try {
			SimpleDateFormat sdf = null;
			sdf = new SimpleDateFormat(MaskStr);
			retStr = sdf.format(date);
		} catch (Exception ex) {
			ex.printStackTrace();
		}
		return retStr;
	}