code: protected String getTimestamp() {
          final Date date = new Date(System.currentTimeMillis());
          final DateFormat formatter = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
          return formatter.format(date);
      }
docs: Get the current time.
  
  @return the current time as a formatted string.
  @since Ant1.7.1