How to program solid state relay on with RTC?

Make up a data array based on the time read, the time would serve as an index ("array pointer".)

If that was every 10 minutes you'd have 144 elements, that'd be a lot of bytes, but there are more economical approaches (bitRead).

Exactly what to do depends on exactly what you want (or expect.)