How to code a RTC to run a code from 11:30pm to 5:30am?

Reading the RTC every loop() and calculating the minutes after midnight shouldn't be that hard.
Plenty of examples on the net, like this one.
Here we try to help you with code/homework (don't write it for you).
Post your attempt (inside code tags).
Leo..