created date_field and datetime_field helpers