The latter is possible via
Modify profile > Expert mode > Compare Options > Date & Time
which can decide based on earlier or later, either using a fixed date or a rolling period ('within the last', etc)
But the former ('taking a time-slice' after X but also before Y) is not.
Modify profile > Expert mode > Compare Options > Date & Time
which can decide based on earlier or later, either using a fixed date or a rolling period ('within the last', etc)
But the former ('taking a time-slice' after X but also before Y) is not.