Here is a dateinput polymer filter to convert its value to a DateTime.