How to change the Month into string as Jan, Feb, Mar, ..., but not 1, 2, 3...?
Hello!
How to change the Month into string as Jan, Feb, Mar, ..., but not 1, 2, 3...? Please give me reply asap. Thanks!
public string TDate()
{
string DateInString="";
int Day=DateTime.Now.Day;
int Month=DateTime.Now.Month;
int Year=DateTime.Now.Year;
DateInString=Day.ToString();
DateInString+="-" + Month.ToString();
DateInString+="-" + Year.ToString();
return DateInString;
}