Humans have understood how to calculate the length of a day pretty accurately for a long time. But there wasn’t a standard way to approach time on a global scale until the late 19th century, and happened because of railroads.
Research:

SYMHC Classics: Deborah Sampson
37:33

Behind the Scenes Minis: Art and Theme Parks
21:25

Interview: Leslie Iwerks
39:57