to track non trading minutes

I need to track non trading time to display in explorer and consider that data as NULL

eg in pre-market is 9:00 - 9:08AM and trading market is 9:015AM to 03:30PM

explore should show the data of 9:08AM - 09:15AM data which is null and I need to check the data inbetween which should return NULL