This project can show you the time on an analog or digital clock. Click the yellow button on top to change the mode.
This forum post: https://scratch.mit.edu/discuss/topic/787084/?page=1#post-8211153 helped a lot.