question: public static String convertTimestampToDateStringCompact ( boolean useUTC , long milli ) { Date date = new Date ( milli ) ; SimpleDateFormat sourceFormat = new SimpleDateFormat ( "dd-MM-yyyy" ) ; sourceFormat . setTimeZone ( useUTC ? TimeZone . getTimeZone ( "UTC" ) : TimeZone . getDefault ( ) ) ; return sourceFormat . format ( date ) ; }
target:  Convert a timestamp in milliseconds into a human readable string format