when comparing two dates with date before method, if the dates are similar it returns false as follows:
- date1: Tue Dec 18 00:00:00 GMT+02:00 2012
- date2: Tue Dec 18 00:00:00 GMT+02:00 2012
the method date1.before(date2)
always return false in thise case, which does not make sense to me (doesn't apply to my case in other words).
i want to check if a date (day/month/year) equals today's date (day/month/year) ?