title: How to display a date time in 16 Nov 2011 15:12 format
body: <p>I have a grid view column in which  I give the datefomat as dd MMM yyyy HH:mm and in code behind databound I change the time, the same time in database is not shown in the gridview, because of that the date is not displayed in <code>16 Nov 2011 15:12</code> format, it is displayed in <code>16/11/2011 15:12</code> format, how can i display it in <code>16 Nov 2011 15:12</code> format</p>
  
  <p>asp  </p>
  
  <pre><code>&lt;asp:BoundField DataField="SendDate"
    ItemStyle-Width="15%" 
    HeaderText="Sent At" 
    DataFormatString="{0:dd MMM yyyy HH:mm}"
    SortExpression="SendDate" /&gt;
  </code></pre>
  
  <p>c#</p>
  
  <pre><code>double timeDifference = Convert.ToDouble(Session["utimezone"].ToString());                    
  e.Row.Cells[5].Text = Convert.ToString(senddate.AddMinutes(timeDifference * 60));    
  </code></pre>