¿ªÔÆÌåÓý

Re: #zBitx timezone issue #zbitx


 

Setting the time

The zBitx, out of the box, has some time offset built into the software.

Here is the procedure to get the time in sync.

  1. Open file manager on the zBitx and navigate to the /home/pi folder. Right click and select the ¡°Show hidden¡± option.

  2. Open the ¡°.profile¡± file and scroll down to the last line. Comment out this line by adding a ¡°#¡± before the line.?

  3. If done correctly the line should read ¡°#TZ=America/Phoenix; export TZ¡±

  4. Save the file and open terminal by using Ctrl+Alt+T.

  5. In the Terminal program, enter the command ¡°sudo ntpdate -u ¡± and hit enter.

  6. If the command has been executed correctly, you will see a message indicating the current date and time and the offset in seconds.

  7. Once this is done, reboot the zBitx. When the zBitx reboots, the correct time should be displayed in the taskbar.

Thanks,

AC4OW, Sam Hanie



On Tue, Apr 15, 2025 at 8:41?PM Robert Fairbairn via <bobfa=[email protected]> wrote:
i cannot seem to get the zBitx to have the correct time
?
I run raspi-config and change the TZ to Chicago but the date command still says MST.
?

pi@sbitx:~ $ sudo raspi-config

?

Current default time zone: 'America/Chicago'

Local time is now:? ? ? Tue Apr 15 19:38:14 CDT 2025.

Universal Time is now:? Wed Apr 16 00:38:14 UTC 2025.

?

pi@sbitx:~ $ date?

Tue 15 Apr 2025 05:38:31 PM MST

pi@sbitx:~ $?

?

?

Join [email protected] to automatically receive all group messages.