Calculate the date after 6 months from compare the date of database using java
<p>i want to send an auto mail after every 6 months from the registration date.
i am using CornJob for this auto mail.</p>

<p>now i am collecting date from database and want to get that date after 6 months.</p>

<p>(<code>now.get(Calendar.MONTH) + 1</code>) this will increment month to <code>5</code> month, but what if current month in 9(sep.).</p>

<p>how can i get that date after <code>6</code> months ?</p>

<p>thanks in advance</p>
