I am trying to get today\'s Year, Month and Date using following code;
Calendar calendar = Calendar.getInstance(); int thisYear = calendar.get(Calendar.YEAR); L
The month starts from zero so you have to add 1 with the given month to show the month number we are familiar with.
int thisMonth = calendar.get(Calendar.MONTH); Log.d(TAG, "@ thisMonth : " + (thisMonth+1));
This will show you the current month starting with 1.