Its really simple code and not overcomplicated like all the insanely overcomplicated code I see when I search up "Digital Clock" so I made my own, very simple 7 segment display that can show integers 0 - 9, showing all numbers, if you look inside the code its actually 7 segments lighted up with or gates.
Free feel to use this you don't have to credit me. I'm going to use it in a project soon. - I did also add an additional segment : just for code that wants to use clocks or something