Select past days from Calendar <p>I am trying to open calendar from past days but calendar starts from today and past days.How to show only past days.For example today's date is 24-11-2016,i want to open calendar from 23-11-2016.This is my snippet code</p> <pre><code> `Calendar c = Calendar.getInstance(); fromYear = c.get(Calendar.YEAR); fromMonth = c.get(Calendar.MONTH); fromDay = c.get(Calendar.DAY_OF_MONTH);` </code></pre>