How to set the start and end date of the current month.
Calendar cal = Calendar.getInstance();
cal.add(Calendar.MONTH,-1);
transactionStartDate = cal.getTime().toString();
transactionEndDate = Calendar.getInstance().toString();
Comments
Post a Comment
Students you can ask your doubts in comment section