I'm developing a C# executable running on the RevPi. One feature of this logiciel is to read every second a value from an analog input and store the value and the datetime.
Thank you in advance for your help.
Simon
Code: Select all
sudo timedatectl set-timezone UTC
Code: Select all
$ timedatectl status
Local time: Wed 2023-03-08 16:14:39 UTC
Universal time: Wed 2023-03-08 16:14:39 UTC
RTC time: Wed 2023-03-08 16:14:40
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
a KUNBUS brand