title: How to set min and max date in a DatePickerDialog?
body: <p>I'm trying to set mindate to 1900 and maxdate to 1997 to a DatePickerDialog. But whatever i try, the result on the dialog is not what it should be. The doc says it should be the number of milliseconds since 1970. So this code should work. </p>
  
  <p>What have i missed ?</p>
  
  <pre><code>var dialog = new DatePickerDialog(this, (ss, ee) =&gt;
  {
    var dateSelected = ee.Date;
  }, model.Birthday.Year, model.Birthday.Month - 1, model.Birthday.Day);
  
  
  var origin = new DateTime(1970, 1, 1);
  dialog.DatePicker.MinDate = 0;// (int)(DateTime.Now.Date.AddYears(-120) - origin).TotalMilliseconds;
  dialog.DatePicker.MaxDate = (int)(DateTime.Now.Date.AddYears(-8) - origin).TotalMilliseconds;
  </code></pre>