date_handler function

Handle and parse a due_date