The concept that time is different in different places dates back to classical antiquity, but "time zones" are a modern construct, created with the understanding that railroads in particular needed standardized times because trains moved fast enough that they would run into one another if there were not safeguards put into place otherwise.