Date format conversion topic

How can I get date format Wednesday, 11 March 2020 7:32 PM? Please help…

@Srideep - pls try DateTime.Now.ToString(“F”).ToString

pls refer below link for a complete custom formats
https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings

1 Like

Thanks for your help @GBK … It worked…

@Srideep - cheers! pls mark my reply as solution - so that it can help others!

DateTime dt = new DateTime("enter your date here");

dt.ToString("dddd, dd MMMM yyyy HH:mm:ss")

More on…C# Date and Time