Page 1 of 1

System Date/Time

Posted: Wed Dec 12, 2018 7:42 am
by guntherm
Upon boot, I want the Arcade to have correct Time/Date since I have wi-fi connection.

The command to accomplish this is:
sudo timedatectl set-timezone America/New_York

Info:
For those that don't know.. timedatectl gets the correct time/date from NTP
set-timezone is how to get right time based upon your timezone. it defaults to UTC time.
To get what you need use this link:
https://en.wikipedia.org/wiki/List_of_t ... time_zones
End Info

What file can I put this in for during boot up it does this command and not interfere with the ARpiCade booting up correctly.

Thnx...

Re: System Date/Time

Posted: Thu Dec 13, 2018 2:54 pm
by guntherm
Solved:

Have Wi-Fi enabled and you have a Theme that has a clock option.. Here is how you fix it:

Add this to the end of your "run.sh" on your Boot drive

##NetworkTime
sudo timedatectl set-timezone America/New_York

If your not in the East cost make sure you use the link:
https://en.wikipedia.org/wiki/List_of_time_zones


Hope this helps someone!

Re: System Date/Time

Posted: Fri Dec 14, 2018 1:23 pm
by dee2eR
Sorry I didn't answer fast enough to help. Nice job figuring it out and also thanks for posting the answer for anyone else that may want to do it.