I start with c# syntax to get month name from month number,
System.Globalization.DateTimeFormatInfo mfi = new
System.Globalization.DateTimeFormatInfo();
string strMonthName = mfi.GetMonthName(8);
and for abbrevated month name i use
string strMonthName = mfi.GetAbbreviatedMonthName(8)
and to get month number from month name,
public string GetMonthNumberFromAbbreviation(string mmm)
{
string[] monthAbbrev=CultureInfo.CurrentCulture.DateTimeFormat
.AbbreviatedMonthNames;
int index = Array.IndexOf(monthAbbrev, mmm) + 1;
return index.ToString("0#");
}
Now i would like to get the Codes for other programming languages.