update date_handler with to_time method