R
rehiaa
I want to show 13:06 (six minutes past one o'clock day)
in a label on a form
The code:
DateTime d1 = DateTime.Now;
this.lblTime.Text = d1.ToString();
gives med date ansd time. How do I format this to the expected result 13:06?
regards
rehiaa
in a label on a form
The code:
DateTime d1 = DateTime.Now;
this.lblTime.Text = d1.ToString();
gives med date ansd time. How do I format this to the expected result 13:06?
regards
rehiaa