Minecraft wiki entry for Clock, associated text: In Java Edition, a clock can be viewed under the item statistics page as long as one obtained a clock at some point. It can also be viewed in recipe book if the recipe for it has been unlocked.
In Java Edition, the default resource pack for the clock contains 64 individual frames, each frame lasting about 18.75 seconds in real time (375 ticks) (1350 seconds (22 minutes, 30 seconds) in Minecraft time).
When the time of day changes suddenly, such as after sleeping or when /time is used, the clock dial spins rapidly to catch up.
Although clocks do not function in the Nether or the End, the actual daylight cycle does continue.