You would create a query. You can start with the design grid view & put in your tables and select the fields you want. You could create a calculated field in the query day+time and in it's criteria section put: Day + Time BETWEEN dateadd("d",-1,date()) + #06:00:00 PM# AND date() + #04:00 AM#
Alternatively, you could just copy and paste the entire text in the SQL view of the query
SELECT Time, Day
FROM MainTable
WHERE Day + Time BETWEEN dateadd("d",-1,date()) + #06:00:00 PM# AND date() + #04:00 AM#
BTW, the words day and time are reserved words in Access, so I would strongly recommend changing those field names to some other name. You will have to adjust the SQL text accordingly.