title: How to set time format on the time of binding?
body: <p>I want the time format should be like this <code>11.00 AM</code>. Please tell how can I? Thanks in advance. My code is:</p>
  
  <pre><code>&lt;asp:DataList ID="dlEvents" runat="server" Width="100%"&gt;
   &lt;ItemTemplate&gt;
        &lt;div class="date"&gt;
             &lt;%#Eval("StartTime")%&gt;          
              to
             &lt;%#Eval("EndTime")%&gt;&lt;/div&gt;
   &lt;/ItemTemplate&gt;
  &lt;/asp:DataList&gt;
  </code></pre>