title: Display EditorFor DateTimeOffset in LocalTime
body: <p>I am creating a 'Time Clock' web app.  However, I am having trouble getting the EditorFor to display the time in LocalTime.  I have everything saved to the Database as UTC(via DateTimeOffset), as per best practice.</p>
  
  <p>Any suggestions on how to get this to display in local time, and still save as UTC?</p>
  
  <p>ViewModel</p>
  
  <pre><code>    [DataType(DataType.Time)]
      [DisplayFormat(DataFormatString = "{HH:mm}")]
      public DateTimeOffset TimeIn { get; set; }
  
      [DataType(DataType.Date)]
      [DisplayFormat(DataFormatString = "{MM, DD, YY}")]
      public DateTimeOffset DateIn { get; set; }
  
      [DataType(DataType.Time)]
      [DisplayFormat(DataFormatString = "{HH:mm}")]
      public DateTimeOffset TimeOut { get; set; }
  
      [DataType(DataType.Date)]
      [DisplayFormat(DataFormatString = "{MM, DD, YY}")]
      public DateTimeOffset DateOut { get; set; }
  </code></pre>
  
  <p>View</p>
  
  <pre><code>  &lt;div class="form-group"&gt;
          @Html.LabelFor(model =&gt; model.TimeOut, htmlAttributes: new { @class = "control-label col-md-2" })
          &lt;div class="col-md-10"&gt;
              @Html.EditorFor(model =&gt; model.TimeOut, new { htmlAttributes = new { @class = "form-control" } })
              @Html.EditorFor(model =&gt; model.DateOut, new { htmlAttributes = new { @class = "form-control" } })
              @Html.ValidationMessageFor(model =&gt; model.TimeOut, "", new { @class = "text-danger" })
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Any help would be appreciated, please let me know if there is anything else you would like to see to help solve the issue. Thanks!</p>