title: Format Dates in a Dropdownlistfor using the DisplayFormat Attribute
body: <p>I want to use the DisplayFormat Attribute of the below property so that when my dropdownlistfor is populated it uses that format. Can anyone tell me if that's possible?</p>
  
  <p>The Property in my Class</p>
  
  <pre><code>[Required]
  [DisplayName("Settlement Year")]
  [DisplayFormat(DataFormatString = "{0:MMMM-yyyy}")]
  public DateTime SettlementYear { get; set; }
  </code></pre>
  
  <p>The Razor Code for the DropDownlistFor</p>
  
  <pre><code>&lt;div class="form-group"&gt;
      @Html.LabelFor(model =&gt; model.SettlementMonthID, htmlAttributes: new {@class = "control-label col-md-4"})
      &lt;div class="col-md-7 input-group"&gt;
          &lt;span class="input-group-addon"&gt;
              &lt;span class="glyphicon glyphicon-calendar"&gt;&lt;/span&gt;
          &lt;/span&gt;
          @Html.DropDownListFor(model =&gt; model.SettlementMonthID, new SelectList(Model.SettlementMonths, "Id", "SettlementYear"), "- Select A Settlement Month -", new { @class = "form-control  dropdown" })
          @Html.ValidationMessageFor(model =&gt; model.SettlementMonthID, "", new { @class = "text-danger" })
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>