title: JSON date to Model C# DateTime
body: <p>I have a ASP.NET MVC API site, where one of my models require a DateTime, but no matter what i do, it won't accept the data i send it as a valid model!</p>
  
  <p>I have tryed</p>
  
  <pre><code>{"Owner":"s083151","Permissions":"public","Name":"SomeRandomMeeting","Begin":"2013-03-28T13:00:00.2124557+01:00","End":"2013-03-28T17:00:00.2124557+01:00","Url":"MyRandomUrl"}
  </code></pre>
  
  <p>and</p>
  
  <pre><code>{"Owner":"s083151","Permissions":"public","Name":"SomeRandomMeeting","Begin":Date(1364234400),"End":Date(1364248800),"Url":"MyRandomUrl"}
  </code></pre>
  
  <p>and</p>
  
  <pre><code>{"Owner":"s083151","Permissions":"public","Name":"SomeRandomMeeting","Begin":1364234400,"End":1364248800,"Url":"MyRandomUrl"}
  </code></pre>
  
  <p>and</p>
  
  <pre><code>{"Owner":"s083151","Permissions":"public","Name":"SomeRandomMeeting","Begin":"1364234400","End":"1364248800","Url":"MyRandomUrl"}
  </code></pre>
  
  <p>But none of it, is accepted as Model.IsValid, what am i doing wrong?</p>
  
  <p>I use fiddler to test the requests
  here are my Request headers</p>
  
  <pre><code>User-Agent: Fiddler
  Content-Type: application/json
  </code></pre>
  
  <p>The data model</p>
  
  <pre><code>[DataContract]
  public class MeetingModel
  {
      [Required]
      [StringLength(500)]
      public string Owner { get; set; }
  
      [Required]
      public string Permissions { get; set; }
  
      [Required]
      [StringLength(500)]
      public string Name { get; set; }
  
      [Required]
      public DateTime Begin { get; set; }
  
      [Required]
      public DateTime End { get; set; }
  
      [Required]
      [StringLength(75)]
      public string Url { get; set; }
  
      public string MeetingId { get; set; }
  
      public TimeSpan Duration { get; set; }
  
      public List&lt;UserModel&gt; Hosts { get; set; }
  
      public List&lt;UserModel&gt; Participants { get; set; }
  }
  </code></pre>