Clocks are by no means a new invention. Actually the complete opposite - modern timekeeping methods entirely originate from the earliest [recognized] civilization - such as the Sumerians, and their Base-60 numeral system. Although we know civilizations go back earlier than that - the Sumerians are just the earliest we can date.
Many people are unaware of this but the Vedas and Sanskrit in general have very strong connections to Ancient Sumeria - such as with the flood stories. In the Vedas, first avatar of Vishnu Matsya warned Manu of the flood and to build a boat to protect him, his family, and the Vedas. The Sumerians kept detailed documentation of how long their king's ruled for. Before the flood, their King's were reported to rule for ~24,000+ years, whereas the maximum lifespan of people back then was reported ~432,000 years. Curiously - after the flood, the reported kingship ruling periods drop down to 1,000 years (meaning the King's were ruling at minimum for 1000-1500 years during that time)
Do those numbers look familiar? A (max)432,000 year life span can only be from Satya Yuga - where the average lifespan in Satya Yuga is often said to be ~100,000yr. Basically, our modern time keeping system literally goes all the way back to the Satya Yuga. This makes sense, consider the highly symmetrical properties of base60, as it is used for time, angles, and general cyclic phenomena. Their King's who ruled for 1000-1500+ years, Treta Yuga, and so on. Curiously enough, the Sumerian King list can be divided up into 4 primary sections based on the average length of rule: ~25,000yr,~1,000yr, ~125yr, ~5-30 years, where it comes to an abrupt end some 4000 years ago.
Unfortunately for us, we still know very little about the Sumerians, because the earliest records we have are from ~3100BC. If that number looks familiar, Krishna is thought to have died just 2 years prior, in ~3102BC. Basically the list of Sumerian King List seems to match up in a remarkable way with the reported progression of lifespans in the Yugas, Krishna's death at age 125 having ended Dwarpa Yuga, is almost precisely when the Sumerian Kings rulerships drop from ~125yr to 5-30yr. That is no coincidence. Basically, that Sumerian King-list has been passed down throughout the Yugas, maintained all the way to the end of the Dwarpa Yuga, and only briefly into Kali Yuga - when unsurprisingly the Sumerians were wiped out by war.
While only very few of Sumerian records have survived, we know enough to be certain that they were extremely skilled time keepers and arguably better at mathematics than us. This shouldn't be a surprise if someone believes the Vedas - people do not get smarter as the Yugas progress, we/society only get dumber and more corrupt. Our modern algorithm for calculating square roots was taken from the Sumerians/Babylonians, likewise, evidence has been found that they were using calculus to calculate the trajectory of planets to keep track of alignments, via the trapezoidal rule.
Just to clarify - I am not saying Sumeria is literally the root of Vedic religion, but rather that they definitely have documentation going back to the Satya Yuga. Sumeria is just one of the oldest civilizations we have significant record for. There is evidence of even older civilizations in other parts of the world, but they have almost no records at all. Desert climates tend to preserve archeological material much better than other climates.