ASP.NET Displaying Date in Label
asp.net, datetime-format
Solution
This should work:
<asp:Label ID="Label1" runat="server"
Text='<%# Eval("Date", "{0:d MMM yyyy HH:mm}") %>'>
</asp:Label>
See: Custom Date and Time Format Strings
Problem
``` <asp:Label ID="Label1" runat="server" Text='<%# Bind("Date") %>'></asp:Label> ``` Displays ``` 03.06.2014 10:30:00 ``` How can I display it as `3 Jun 2014 10:30`