I am looking to create a search looks at after hour activities. How would you search for events from yesterday beginning after 5pm until 7am.
earliest=-1d@d and latest=@d
When specifying relative time modifiers in your search you can chain together modifiers...
earliest=@d-7h latest=@d+7h would be 5p (snap to midnight then subtract 7 hours) to 7a (snap to midnight and add 7 hours)
earliest=-d@d+17h snap to midnight yesterday, and add 17hours (5p)