question: public static String formatDate ( Date d ) { try { synchronized ( timeFormatter ) { return timeFormatter . format ( d ) ; } } catch ( Exception e1 ) { try { return d . toString ( ) ; } catch ( Exception e2 ) { try { return Long . toString ( d . getTime ( ) ) ; } catch ( Exception e3 ) { return "timestampFormatFailed" ; } } } }
target:  Convert a Date to a timestamp String.