In the Portal Map Viewer, the "in the last" and "not in the last" date filter operators are not options for referenced feature services. However, they are options for hosted feature services.
Per Esri's documentation here (https://enterprise.arcgis.com/en/portal/11.2/use/apply-filters-mv.htm), "in the last" and "not in the last" operators are available when selecting a date field in the filter. However the documentation does not state it applies to ONLY hosted feature services.
I actually propose two ideas.
- Include "in the last" and "not in the last" as available operators for date fields for referenced feature services.
- Update Esri's documentation to say that the "in the last" and "not in the last" operators are NOT available operators for referenced feature services. The documentation gives no indication that those operators are not available for referenced feature services.