title: Get full day Name from DateTime in C#
body: <p>I have js calender when I select date from calender it calls C# service  which takes string as parameter . It is getting date in format Mon Apr 18 2016 00:00:00 GMT 0500 . I want Monday intead of Mon.</p>
  
  <p>My java Script code is </p>
  
  <pre><code>$scope.deliveryDateTime = {  Day: new Date(2015, 11, 28, 14, 57) };
   var DeliveryDay =  $scope.deliveryDateTimeData.Day;
  
          $http.get(meta.service.GetTimeAvlb+'?day='+ DeliveryDay).
             success(function (data) {
                 debugger;
                 console.log("Data" + data);
                 $scope.AvailiableTimeData = data.data;                  
                 }                 
             }).
             error(function (data) {
             }); 
  </code></pre>
  
  <p>Here is my C# Service code</p>
  
  <pre><code>public ApiResult GetTimeAvlb( string day )
       {                    
          var splitDay = day.Split(' ');
          string dayName1 = splitDay[0].ToString();            
          apiresilt.data = db.TimeAvaliblities.Where(ss =&gt; ss.DayName == dayName1).ToList();
          return apiresilt;
       }
  </code></pre>
  
  <p>here dayName1 returning Mon while my db has value Monday . </p>