public static Date strToDate(String strDate) throws ParseException {
        Date dt = null;
        try {
            dt = new SimpleDateFormat("yyyyMMddhhmmss").parse(strDate);
        } catch (ParseException e) {
            throw e;
        }
        return dt;
    }