Mansome
Posts: 69
Joined: Sat May 16, 2015 2:32 pm

Set the time and date correctly

Mon Apr 11, 2016 7:43 pm

I have tried using the wiki but its just more confusing especially if I dont know the names of the folders I am supposed to be searching in to edit the configs for setting the time. The initial stuff I saw only works if the device has a real clock but the Pi 3 does not. So far the only thing I could get working is setting it for UTC time. I am needing Eastern Standard Time. If someone could help by posting the commands for this it would be great.


Mansome
Posts: 69
Joined: Sat May 16, 2015 2:32 pm

Re: Set the time and date correctly

Tue Apr 12, 2016 6:28 pm

Been there, done that, still does not work. Time is still set to UTC. I need an easier solution.

Koeshi
Posts: 228
Joined: Sun Mar 20, 2016 11:16 am

Re: Set the time and date correctly

Wed Apr 13, 2016 12:27 pm

Mansome wrote:
Been there, done that, still does not work. Time is still set to UTC. I need an easier solution.
Assuming you mean the East coast of the USA, the timezone that you want is UTC-4 (EDT), then when daylight saving time ends you will want UTC-5(EST).

Mansome
Posts: 69
Joined: Sat May 16, 2015 2:32 pm

Re: Set the time and date correctly

Wed Apr 13, 2016 6:34 pm

I get that but how? If you can provide sample code that would be a big help. Sorry to be asking this but when I used raspbian it was never this hard to get things to work. Why does Arch have to be so much more complicated to do simple stuff? Do I need to edit a file to specify a time?

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Set the time and date correctly

Wed Apr 13, 2016 7:06 pm

Mansome wrote:I get that but how? If you can provide sample code that would be a big help. Sorry to be asking this but when I used raspbian it was never this hard to get things to work. Why does Arch have to be so much more complicated to do simple stuff? Do I need to edit a file to specify a time?
You need to be connected to the Internet to Synch the Time:

https://wiki.archlinux.org/index.php/Ne ... col_daemon
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Set the time and date correctly

Wed Apr 13, 2016 8:37 pm

Tried on a fresh install

Code: Select all

timedatectl set-timezone Europe/London
so this should work for you

Code: Select all

timedatectl set-timezone America/New_York

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Set the time and date correctly

Thu Apr 14, 2016 9:30 am

Mansome wrote:Sorry to be asking this but when I used raspbian it was never this hard to get things to work. Why does Arch have to be so much more complicated to do simple stuff?
The goal of arch is simplicity, not for the user, but of the system itself. So, it is meant more for folks who don't want a lot of extra space taken up by software and who want more control over everything themselves. Definitely was not set up to make things simple for users. To find out how to do things that are not obvious, that is what the wiki pages and forums are for, and sometimes also super helpful pages are out there on other sites as well. But don't be afraid to ask here if you have other problems, people may just not always give a simple enough answer as we don't necessarily know what your knowledge level is. Plus, when an expert replies, they don't always realize that the person they are answering may not know as much as they do.

Honest, one of the things I like about Arch Linux Arm is the community. Help is here, folks sometimes just need to know what you need. I agree that sometimes wiki pages and man pages are not always very helpful unless you already know what you are doing. Sometimes I can turn up helpful pages by adding the words "how to" or "tutorial" to a web search on a topic, and somebody's personal website with a down to earth answer pops up. Not always, but sometimes. When that does not work, we have our friendly forum. So feel free to keep asking when you need to.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

Return to “Arch”