code: public static String timeFormat(final long milliseconds) {
          double seconds = milliseconds / 1000.0d;
          final NumberFormat fmt = new DecimalFormat("#0.000");
          return fmt.format(seconds);
      }
docs: Converts into seconds and returns a string in the format
  {@code <seconds>.<milliseconds>}.
  
  @param milliseconds
  @return String