i needed to know which is a better way of getting the current month in the 'mon' format.
1) new Date().toString().substring(4,7).toLowerCase()
2)
String a[]={"jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"};
int index=Calendar.getInstance().get(Calendar.MONTH);
month=a[index];