adds a datetimepicker field