It would be nice to have to ability to use the Filter Query in ArcGIS Online to filter a date based on "in the next" (as in, in the next 2 days from the current date). There is the functionality out of the box to do "in the last". I see it can possibly be done in the JSON or publishing a layer with a Definition Query or Arcade expression but it is an inconvenient workaround.