7
Answers

Label to show current date and time

azzo stones

azzo stones

13y
20.5k
1
hello guys , i have created a form .now in my form i have a label where i want to display the current time and day as soon as the form opens
what i did till now is something like this


dtLB.Text = "Date:" + DateTime.Now.ToString();




but the date and time are only shown when i click on the label. any help please thanks
Answers (7)