You can use a time picker, and then select from it the earliest and latest in your search
Say you name your time picker timetok
The search would look like this:
index=ndx sourcetype=srctp earliest=$timetok.earliest$ latest=$timetok.latest$ ...
from User warren – Stack Overflow https://stackoverflow.com/questions/77497243/how-do-i-use-a-specific-date-time-in-splunk-dashboard-with-earliest-and-latest/77532620#77532620
via IFTTT