I want to display current date in Textbox with Month name My code is
TextBox4.Text = DateTime.Now.ToShortDateString();
It display like 25-11-2014 But i want it like 25 November 2014 or 25th November 2014
DateTime today = DateTime.Today; TextBox1.Text = today.ToString("dd/MMMM/yyyy");
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.