code: public String getDate() {
          SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
          String date = formatter.format(calendar.getTime());
  
          return date;
      }
docs: This function return the current date of a date picker in the format of "MM/dd/yyyy"
  
  @return the current date