Setting date and time problems

I have a second hand Surface Pro 7, the issue is not when used at home, but when I use at work.

It doesn’t set the date and time correctly, I think it is because my employer blocks NTP servers on the WIFI, at home it updates instantaneously.

Is there an alternative (automatic) way to do this, or am I stuck with setting it manually? If it has a cmos battery, would not be able to change it as it is a glued unit.

I can’t think of any reason why someone would do this, although NTP can be configured through group policy which won’t work on a Linux device. Or it could be set up through DHCP and just isn’t working for your device for some reason.

Take a look at systemd-timesyncd, it’s pretty straightforward to set up, and is included with systemd so you don’t need to install anything extra. https://wiki.archlinux.org/title/Systemd-timesyncd

You can configure any NTP servers you want. There are thousands to choose from (https://www.ntppool.org/), including a few Arch Linux ones. The Arch ones may even be the default configuration, I can’t remember…but in any case you can change them until you find a server that works for you.

It is quite common, I work for the UK health service. All of our machines point at an internal address, everything else is blocked to stop DDOS and spamming attacks (repeatedly accessing the same addresses). i can’t even ping the BBC or google.

Have a look at:
https://www.google.com/search?q=ntp+server+blocked&rlz=1C1GCEB_enGB1012GB1012&oq=ntp+server+blocked&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCDQ4MTRqMGo0qAIAsAIB&sourceid=chrome&ie=UTF-8&safe=active&ssui=on