The phrase "o'clock" is short for "of the clock" and comes from a time when people had to specify that their time came from a clock instead of a sundial or other device.