Fixed Date filter to getDate

Used Task.getDate instead of getCalendar.