How did the Romans invent sun diel?

Can you answer this question?