I have a datagrid which one of the row display the datetime in this way:
2/6/2004 1:00:00
The code is like that:
How can I modify the code so that it display the datetime like it:
(a) 2 Jun; and
(b) 01:00?
Thank you
2/6/2004 1:00:00
The code is like that:
Code:
<asp:TemplateColumn HeaderText="Date">
<ItemTemplate>
<asp:Label runat="server" text='<%# (DataBinder.Eval(Container.DataItem,"schStartTime")) %>' id="DateLabel"></asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
How can I modify the code so that it display the datetime like it:
(a) 2 Jun; and
(b) 01:00?
Thank you