I want the time format should be like this 11.00 AM. Please tell how can I? Thanks in advance. My code is:
<asp:DataList ID="dlEvents" runat="server" Width="100%">
<ItemTemplate>
<div class="date">
<%#Eval("StartTime")%>
to
<%#Eval("EndTime")%></div>
</ItemTemplate>
</asp:DataList>
Use,
If type field type is string but it contains valid
datetimevalue then use,