docs: function createDateAtMidnight(opt_value) {
      var date;
      if (opt_value === undefined) {
        date = new Date();
      } else {
        date = new Date(opt_value);
      }
      setDateTimeToMidnight(date);
      return date;
    }