public static String getStringFromDateTime ( Date date ) throws ParseException { SimpleDateFormat formatter = new SimpleDateFormat ( DATE_yyyyMMddTHHmmssSSSZone ) ; return formatter . format ( date ) ; }
Method to convert the given Date to String format