title: ASP.net MVC - Model with DateTime, trying to serialize for Json() for jqGrid
body: <p>I've got a model...</p>
  
  <pre><code>    [DataContract]
      public class DeviceModel
      {
          [DataMember(Order=1)]
          public string Alias { get; set; }
  
          [DataMember(Order = 2)]
          public string Location { get; set; }
  
          [DataMember(Order = 3)]
          public string State { get; set; }
  
          [DataMember(Order = 4)]
          public DateTime? DateCreated { get; set; }
  
          [DataMember(Order = 5)]
          public string RatePlan { get; set; }
  
          public DeviceModel()
          {
              Alias = null;
              Location = null;
              State = null;
              DateCreated = null;
              RatePlan = null;
          }
      }
  </code></pre>
  
  <p>This model contains a DateTime object, as you can see.  I am using this model as the data for the jqGrid plugin we are using.  The only issue is, the DateCreated field shows "/Date(1285128000000)/" when the Grid loads, instead of the readable date.  I've read some of the other posts here, but I don't feel that they quite fit the bill for what I'm looking for.  I'm looking for a way to format this DateTime field to a human readable string?  Suggestions?</p>