Get date as date object from datepicker on serialize.