public static String millisecondsToString(long milliseconds,SimpleDateFormat dateFormat){
  return dateFormat.format(new Date(milliseconds));
}

public static String millisecondsToString ( long milliseconds , SimpleDateFormat dateFormat ) { return dateFormat . format ( new Date ( milliseconds ) ) ; }
return a date string from milliseconds with a specific date format
