Custom DateTime format in GridView TemplateField columns in ASP.Net

Last Reply 11 months ago By dharmendr

Posted 11 months ago

hello

i have label inside list view i want to apply date format to it

<asp:Label ID="Label2" runat="server" Text='<%# Eval("date", "{0:dd/M/yyyy}") %>' ></asp:Label>

currently it returns 

  • Aug 05, 2019

i want it like

  • Monday, Aug 05, 2019

 

so with day

This question does not have replies that have been liked.