title: Date coming out in a strange format
body: <p>I have the following code which works:</p>
  
  <pre><code>&lt;%@ WebService Language="C#" Class="Absences" %&gt;
  
  using System;
  using System.Collections;
  using System.Collections.Generic;
  using System.Configuration;
  using System.Data;
  using System.Data.SqlClient;
  using System.Web;
  using System.Web.Script;
  using System.Web.Script.Services;
  using System.Web.Services;
  
  public class Absence
  {
      public string name;
      public DateTime from;
      public DateTime to;
  
      public Absence(string m_name, DateTime m_from, DateTime m_to)
      {
          name = m_name;
          from = m_from;
          to = m_to;
      }
  
      public Absence() { }
  }
  
  [ScriptService]
  public class Absences : WebService {
      List&lt;Absence&gt; Absence = new List&lt;Absence&gt;();
  
      SqlConnection connection;
      SqlCommand command;
      SqlDataReader reader;
  
      [WebMethod()]
      public List&lt;Absence&gt; GetAbsences(string strDateYear, string strDateMonth, string strDateDay)
      {
          var absences = new List&lt;Absence&gt;();
  
          using (connection = new SqlConnection(ConfigurationManager.AppSettings["connString"]))
          {
  
              using (command = new SqlCommand(@"select full_name, from_date, to_date from table1", connection))
                  {
                      connection.Open();
                      using (reader = command.ExecuteReader())
                      {
                          int NameIndex = reader.GetOrdinal("full_name");
                          int FromIndex = reader.GetOrdinal("from_date");
                          int ToIndex = reader.GetOrdinal("to_date");
  
                          while (reader.Read())
                          {
                              absences.Add(new Absence(reader.GetString(NameIndex), reader.GetDateTime(FromIndex), reader.GetDateTime(ToIndex)));
                          }
                      }
                  }
  
          }
  
          return absences;
      }
  }
  </code></pre>
  
  <p>the only problem are the dates, they are coming out in a strange format in the JSON data such as:</p>
  
  <p><code>"from":"\/Date(1353456000000)\/"</code></p>
  
  <p>How can I get the date to the following format <code>dd/mm/yy</code>?</p>