title: Calendar in android
body: <p>I´m doing a Calendar with Android with this code that I have find here. </p>
  
  <pre><code>Calendar cal = Calendar.getInstance();              
  Intent intent = new Intent(Intent.ACTION_EDIT);
  intent.setType("vnd.android.cursor.item/event");
  intent.putExtra("beginTime", cal.getTimeInMillis());
  intent.putExtra("allDay", false);
  intent.putExtra("rrule", "FREQ=DAILY");
  intent.putExtra("endTime", cal.getTimeInMillis()+60*60*1000);
  intent.putExtra("title", "A Test Event from android app");
  startActivity(intent);
  </code></pre>
  
  <p>in this sentence <code>intent.putExtra("beginTime", cal.getTimeInMillis());</code> we put our begin time but how can I do if I want to put my begin time within 3 months for example because if I put <code>cal.getTimeInMillis()+10000000000</code>(a lot of time) the event day doesn´t change.</p>
  
  <p>Thank you and sorry but my english is bad.</p>