Line 88: //startOfMonth = new DateTime(yr, mn, 1);
Line 89: int pos = postMonth.IndexOf(" ");
Line 90: string mon = postMonth.Substring(0, pos);
Line 91: int yr = Convert.ToInt32(postMonth.Substring(pos + 1));
Line 92: int mn = DateTime.ParseExact(mon, "MMMM", CultureInfo.CurrentCulture).Month;
|