[Solved] How to ignore time while checking date using before(Date d)


You can format and parse the date from cal.getTime() using df (SimpleDateFormat("MM/dd/yyyy")) which will get rid of time and then compare the result with d.

solved How to ignore time while checking date using before(Date d)