Hello I want to show current date , time and day name in a label in c# windows form. I have put following code
datetime.Text = DateTime.Now.ToString("dd-MMM-yyyy hh:mm tt");
and now I have to show current day name. How to do that?
Perfect. Thankyou
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.