title: Get week day name from jquery ui calendar
body: <p>I want to get the name of the Day when choosing date from jquery ui calender.</p>
  
  <p>for example, when choosing 14-3-2012 it should returns Wednesday.</p>
  
  <pre><code>$("input[name=date]").datepicker({
      dateFormat: 'yy-mm-dd',
      changeYear:true,
      changeMonth:true,
      onSelect: function(dateText, inst) {
           var date = $(this).datepicker('getDate');
  
           //what should I write here to get the day name?
  
      }
  });
  </code></pre>