Takes a date object