Correct Time Clock

Proper timer

Easily set the correct time. The first run date to ensure that the time is correct. In addition, a time that is shifted by minutes or even hours can cause you to be late or miss appointments. The PiFace Clock is an easy and unobtrusive way to spend time on your Raspberry Pi without using the internet. Ensure that the correct time zone is selected.

DatumTime

Use the date - utc (or shortcthand date -u) statement to display the time in the time zone of ATC. If you set the system time directly using the date directly, the desired time entry form can be bewildering (according to POSIX conventions, MMDDDhhhmmYYYYYYYYYY must be). When using the --set date arguments, however, date will accept the date and time in many different file types.

Now you can view the man page of date or use the following example for a possible and very useful one. In the expanded form of the EN 8601 norm, the following argumentation samples are given as YYYYY-MM-DD for year-month-day of the monthly and time of day HH:MM:SS with 24-hour clock. Both of the above instructions place the system date at the second of November 1998 and the system time at eight minute after nine o'clock.

Please be aware that using the date instruction only resets the system time of the run-time system (alias firmware clock), but has no effect on the basic clock (alias RTC = Time Clock). If the system is booting, it has no idea of what the absolut time is, and fills the system time with the date and time that will be reading from the clock to make sure that the time specified with the date will be preserved on restarts, it must be stored on the clock.

In order to put the actual system time in the clock so that it can be restored when the system reboots later, correct the system time as described above and then store it on the clock using the --systohc system clock function (see man pwclock for more options). Network Time Protokoll or NTP is the log used to adjust the time.

In order to adjust the time automaticly, you need an NTP-tool. You can have such a NTP on your LAN, but most folks need to connect to an NTP via the intranet. There are time relays on the web that offer the right time. There is a time limit your ISP can offer, and this would be the next and probably most precise one.

In order to get the clock healthy and the time shown correct by several different devices, you have to decide in which time zone the clock will be held.

Auch interessant

Mehr zum Thema