How do I make time activated gates?

This doesn’t work for me, thanks for trying though.