Click here to Skip to main content
15,918,404 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
please help about get date and time from system to show in box in the windows form application
Posted
Updated 12-Aug-12 2:56am
v2
Comments
[no name] 12-Aug-12 8:57am    
DateTime.Now what you are looking for?

1 solution

Pretty simple :
C#
txtBox1.Text = DateTime.Now.ToString();
 
Share this answer
 
Comments
FM7 12-Aug-12 9:00am    
mer30
thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900