title: DataTables how do I show only date rather than datetime
body: <p>I'm using server side processing as per the <a href="http://www.datatables.net/development/server-side/django" rel="nofollow">Django example</a> in <a href="http://www.datatables.net/index" rel="nofollow">DataTables</a>. I return datetime values in this format 'yyyy-mm-dd hh:mm:ss'. These date time values are currently displayed like this (for example):</p>
  
  <blockquote>
    <p>Dec. 18, 2011, 11:59 p.m.</p>
  </blockquote>
  
  <p>I would like to display just the date part rather than both date and time.</p>
  
  <p>This is what I have in my html page:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  /* &lt;![CDATA[ */
  $(document).ready(function() {
          $('#certs-table').dataTable({
                  "bJQueryUI": true,
                  "sPaginationType": "full_numbers",
                  "bProcessing": true,
                  "bServerSide": true, 
                  "sAjaxSource": "/cars/get_cars_list/",
                  "iDisplayLength": 10,
                  "aoColumnDefs": [
                          { "aTargets": [0], "bVisible": false, "bSearchable": false},
                          { 
                            "aTargets": [1], 
                             "fnRender": function ( oObj ) {
                                  return '&lt;a href=\"/cars/' + oObj.aData[0] + '/\"&gt;' + oObj.aData[1] + '&lt;/a&gt;';
                              },
                            "bSearchable": true, 
                          },
                          { "aTargets": [2], "bSearchable": true},
                          { "aTargets": [3], "bSearchable": false, "sType": 'date'},
                  ]
          });
  } );
  /* ]]&gt; */
  &lt;/script&gt;
  </code></pre>
  
  <p>The date is is the 4th column, i.e., aTarget[3].</p>
  
  <p>How do I display just the date portion please? I only started using DataTables/JQuery yesterday, so would really appreciate an example. Thanks.</p>