This one's pretty easy. For the first question, when you add a datetime filter, select the Relative Filter option. You can then select Yesterday or Today. This filter will show up as a continuous (green) pill.
For the second question, add a datetime filter, then under Range of Dates select Hours. You can then select 5 through 19 (i.e. 5:00 am - 7:59 pm). In this case you're just filtering on Hour of Datetime Field. This filter will show up as a discrete (blue) pill.
Wow, I was really over-thinking it. Thanks, Sean!