title: Year, Month, and Day parameters describe an un-representable DateTime in Persian calender
body: <p>I used the following code in order to present today's Persian date... the site I worked on have been online since two month ago and it have worked fine but today I received the following error:</p>
  
  <p>Year, Month, and Day parameters describe an un-representable DateTime.</p>
  
  <p>and I have no idea why this happened...is there any way to fix this?</p>
  
  <pre><code>protected void lbnChangeDate_Click(object sender, EventArgs e)
  {
  
      PersianCalendar p = new PersianCalendar();
      DateTime date = DateTime.Now;
      int year = p.GetYear(date);
      int month = p.GetMonth(date);
      int day = p.GetDayOfMonth(date);
      DateTime d1 = new DateTime(year, month, day);
      MultiView6.SetActiveView(View12);
      txtDate.Text = DateTime.Parse(d1.ToString()).ToString("yyyy/MM/dd");
  
  }
  </code></pre>