Seems to be simple enough (just plain JS not minimified, and CSS), that you can just look at the source view-source:https://www.clocksimulator.com/

Good ol' days spirit