There is a system clock attached to every modern computer, and for internet-connected operating systems, they are frequently synchronized with atomic clocks run on the internet, through a service called ‘network time protocol’. Programs running under an operating system will ask the OS for the time using a system call.
Latest Answers