Is there any way to get exact below format of current date- 18 Aug 2010.
I tried –
string dt = DateTime.Now.ToShortDateString().ToString();
dt = dt.Replace("-", " ");//return 18 Aug 10.
But I want the exact format: 18 Aug 2010
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to always use the English month abbreviation regardless of the thread culture, you should specify the formatting culture as well. e.g.: