1 00:00:06,639 --> 00:00:10,289 Working with Linux time is not too complex, but there's a few things you 2 00:00:10,289 --> 00:00:13,939 need to understand, and that is that it all starts with hardware time. 3 00:00:14,720 --> 00:00:18,390 Hardware time is the time that is on the BIOS clock of your computer. 4 00:00:19,109 --> 00:00:23,289 And when you boot your computer, your hardware time is the foundation 5 00:00:23,289 --> 00:00:27,469 for the system time in the system time is your software time. 6 00:00:28,710 --> 00:00:32,729 So if the hardware time is off, your system time is going to be off as well. 7 00:00:33,280 --> 00:00:39,359 And as hardware clocks are not always very reliable, we like to synchronize time from the Internet. 8 00:00:40,020 --> 00:00:43,490 That's where NTP comes in, the Network Time protocol. 9 00:00:44,530 --> 00:00:48,579 Now, network time protocol is normally used to synchronize time on your system. 10 00:00:49,079 --> 00:00:54,530 And there will be an NTP solution on your system that makes sure that your system time is always up to date. 11 00:00:55,200 --> 00:00:59,150 So if there is a small difference between the hardware clock and the system time, 12 00:00:59,150 --> 00:01:03,100 NTP will take care of the difference and it will synchronize this difference away. 13 00:01:03,979 --> 00:01:10,560 If the difference is too big, however bigger than 1000 seconds, then your system is going to refuse 14 00:01:10,560 --> 00:01:17,140 to communicate with this NTP clock because the difference is too big and something might be wrong here. 15 00:01:18,000 --> 00:01:23,219 That is where a command like hwclock comes in handy. Because in 16 00:01:23,219 --> 00:01:28,439 hw clock, you can use the parameter sys2hc to synchronize the system 17 00:01:28,439 --> 00:01:33,659 time with the hardware clock and make sure that everything is okay. 18 00:01:34,579 --> 00:01:38,104 So that ensures that all the applications that are running on your 19 00:01:38,104 --> 00:01:41,629 Linux system have the most reliable time that you can imagine.