question: public static Date convertDate ( String date ) { Date receivedDate = null ; try { receivedDate = dateFormat . parse ( date ) ; } catch ( ParseException e ) { Log . e ( TAG , "Invalid date format." + e ) ; } return receivedDate ; }
target:  Convert the date to the standard format.