Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to display current date in Textbox with month name

My code is
C#
TextBox4.Text = DateTime.Now.ToShortDateString();

It display like 25-11-2014
But i want it like 25 November 2014 or 25th November 2014
Posted

1 solution

 
Share this answer
 
v2

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