Questions tagged [time]
Questions relating to time and timezones.
593
questions
0
votes
0
answers
58
views
Ubuntu 23.10, Raspberry Pi 5 - How to add an RTC?
While previous RPi generations how no on-board real-time clock, the RPi 5 does include one. However, it has no battery backup, so if the R Pi looses power, time is lost. I need an RTC with a battery ...
1
vote
1
answer
37
views
Clock at top of screen displaying odd values instead of time in Ubuntu 23.10
Settings > Date & Time show correct options, but the clock on the top of the screen displays numbers (time of 24:40) that don't make any sense (although the date is correct). See screenshot
0
votes
0
answers
45
views
Marking clocksource 'tsc-early' as unstable because the skew is too large: and Time drift on ubuntu server 22.04.4 LTS
I have an Ubuntu Server with this config
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
Linux lab01 6.5.0-26-...
2
votes
1
answer
53
views
sudo timedatectl timesync-status has high jitter and offset
I've noticed that since the last update of the Ubuntu kernel the OS clock randomly jumps seconds. I noticed that after running a simple Python app which showed that the timestamps on the print ...
1
vote
1
answer
126
views
Change Date & Time Formatting [duplicate]
I am used to XFCE in various distributions, but thought I would try Ubuntu with GNOME for a change and to understand why so many people use it.
Frustratingly, I cannot find out how to change the date ...
0
votes
1
answer
62
views
How to change style and language of timezone
Ubuntu 23.10
How one to change the STYLE of timezone?
I live in Ukraine, however I do prefer an English version of the system.
But, my date is in Ukrainian language, what is somewhat out of place.
e.g....
1
vote
0
answers
54
views
Assigning a certain amount of CPU power to a script
I use the time command in a script to calculate the runtime.
But sometimes
gzip -4 file
is done in less time than
gzip -1 file
Why is this happening؟
How can I make the CPU power level the same at ...
0
votes
0
answers
42
views
How can I let the file date be formatted according to ISO 8601 also in load/store dialogues
I am using Xubuntu 22.04. I have added a line
alias date='date -Iseconds'
to /etc/bash.bashrc in order to let file dates be formatted according to ISO 8601 (YYYY-MM-DDThh:mm:ss)
Further I have ...
1
vote
1
answer
590
views
Time is reset on boot
I am running Ubuntu Server 22.04 LTS (not dual-boot). I have chrony for ntp.
Every time I boot the machine, the date is reset to the same time, about a month in the past. This occurs regardless of ...
1
vote
0
answers
241
views
Manually set system time while NTP sync is on
I have a computer without internet connection and I would like to manually set the system time. I've tried running timedatectl set-time, but I get
Failed to set time: Automatic time synchronization is ...
0
votes
2
answers
122
views
System date on laptop resume set in the future
I have an HP 15-EF2XXXX series laptop with Ubuntu 22.04.3 LTS installed. The laptop works great in all regards, considering the cheap build quality.
However, at the end of the day I suspend the OS by ...
0
votes
1
answer
313
views
System display time is out of sync with specified install time on Ubuntu 22.04.02 LTS install
On installing Ununtu 22.04.02 LTS from a USB key on to an HP Pavilion Laptop. I have encountered the following problem:
When I run sudo apt update && sudo apt upgrade -y
I get:
E: Release file ...
-1
votes
1
answer
140
views
Repeated incorrect time in Multipass clients with Ubuntu 22.04
I am using Ubuntu 22.04 LTS and installed Multipass to quickly bootstrap small Ubuntu VMs for testing. However, these VMs consistently show a strong time drift, and do not sync with the host OS (which ...
1
vote
1
answer
411
views
Why Cronjobs Run According to UTC Time?
I am in Singapore and the server (Ubuntu 22.04 EC2 instance) is set according to the my local timezone (UTC+8H), at least so the date command tells me.
$ date
Wed Sep 20 09:07:42 +08 2023
Is this a ...
0
votes
0
answers
77
views
Ubuntu clock jumps
I've noticed that since the last update of the Ubuntu kernel (specs are below) the OS clock randomly jumps seconds.
I'm using Python 3.10.12 and Ubuntu 22.04.3 LTS 6.2.0-26-GENERIC
I've noticed ...
0
votes
0
answers
83
views
Time incorrect after suspending
Before I close the lid of the Ubuntu 23.04 laptop, for example the time is 12:34. When I open the lid, the time becomes X hours faster than the correct time.
My timezone is UTC+X and I ran timedatectl ...
2
votes
0
answers
190
views
System time changes by 5½ hours after being suspended for a while
Every time I open my System(Ubuntu 22.04) from suspend, the system time is wrong, exactly by 5½ hours and this time is 11 hours ahead of GMT. For example, if the correct time is 3:30 PM, it shows 9:00 ...
1
vote
1
answer
2k
views
Time does not sync
I have set time to sync with Internet servers in "Time and Date Settings". No error shown there. However time does bot sync and is off by several days. systemctl status systemd-timesyncd ...
0
votes
0
answers
131
views
How do I change my locale?
I am using Ubuntu 22.04 LTS Desktop version and i need help regarding formatting of locale. In short I need help on creating a locale that fits my needs as so:
date should be given as: Monday, 24th ...
0
votes
0
answers
112
views
How can I change my 'Modified — Time' column within GNOME Files in Ubuntu to show files in YYYY-MM-DD HH:MM format?
GNOME Files within Ubuntu 22.04 displays file modification times in 3 different formats (see image below). I would love to get all of these entries (or at least the day/month/year entries) to use YYYY-...
0
votes
0
answers
156
views
How do you prevent openvpn clients from changing the system clock?
I'm using state based routing using iptables and a single user on a shared machine sometimes uses a VPN to get resources not available in our physical location. However, this is very annoying because, ...
1
vote
1
answer
576
views
How do I turn off DST (Daylight Saving Time)?
How do I turn off DST (Daylight Saving Time)?
Iran has abandoned DST altogether, but old Ubuntus still think DST is needed. I want to turn off DST and fix the timezone on +0330.
I like to do this with ...
2
votes
1
answer
165
views
System clock seems off by -2m11.785152258s, which can prevent network connectivity
I have a server that was syncing a bsc full node, and all of a sudden my system clock went off by 2 minutes. Could it be a hardware problem?
OS: Ubuntu 22.04.2 LTS x86_64
❯ timedatectl status
...
1
vote
1
answer
399
views
Command `date` and `hwclock` mismatches
When I run the command date it returns my local time:
qua 22 mar 2023 14:02:33 -03
When I run the command date -u it returns London time (UTC-00).:
qua 22 mar 2023 17:03:08 UTC
Now, when I run the ...
1
vote
2
answers
2k
views
Mexico NTP (no more time changes since 2023) and my NTP server
I have a NTP server (Ubuntu) that actually have a Time Zone of America/Mexico_City, until 2022 we have had 2 time changes a year, most Americans spring forward (turn clocks ahead and lose an hour) on ...
-2
votes
1
answer
215
views
time command do not work for my shell script
I try to measure the time of my shell script (I normally run it with ./my-script) with time linux command like this:
time my-script
but I receive the following error
-bash: my-script: command not ...
0
votes
0
answers
1k
views
System clock not synchronized but NTP service is active
I am unable to get a "yes" for "System clock synchronized" on my VPS (Ubuntu 22.04). The NTP service is active. I already tried sudo timedatectl set-ntp on but this only activates ...
0
votes
1
answer
39
views
Editing time zones
I am using Ubuntu 20.4.5 and Gnome version 3.36.8.
In the top panel, I find the local date and time. When I left-click on that, there appears a calendar and, below that, my city's name and the local ...
0
votes
1
answer
2k
views
Clock offset problem in dual boot with Ubuntu 22.04 and Windows 10 [duplicate]
I have installed Ubuntu 20.04 in a partition with Windows 10 on my HP Notebook. Initially whenever I would switch between the systems there would be a time offset (Neither Ubuntu nor Windows showed ...
1
vote
0
answers
71
views
What causes the beep on the hour?
I admit this isn't a really dramatic issue, but I have recently installed Ubuntu 22.10 on a fairly new laptop. Now that I got the sound working, I hear a beep every hour on the hour, coming from the ...
0
votes
1
answer
229
views
Ubuntu latest version timer that does everything that i ask it to do in this Post description?
I'm looking for a timer that sounds every time that pass the time passes that I configure it to show me when it passes, after configuring it to show me. I want a timer that can count even seconds like ...
2
votes
1
answer
519
views
Find out whether time is updated automatically
I'm using Ubuntu 22.04.1 LTS and KDE.
The checkbox Set date and time automatically in Date & Time - System Settings is greyed out. Not sure how to understand it. Is the time updated automatically ...
0
votes
1
answer
268
views
Time sync problem after running Windows after exiting from Ubuntu [duplicate]
After using Ubuntu 22.10 and I restart the PC I run windows 10. The time shown is different from the current time. Hence every time I come to Windows from Ubuntu I have to manually change the time. ...
2
votes
2
answers
302
views
How to separate language from time format?
I want to set a custom time format or the time format specific to my localisation but I want to keep the names of days and months in English. How can I set it to something like YYYY-MM-DD, Monday, 20:...
1
vote
2
answers
190
views
How to get all time working hours on Ubuntu Server?
I own a server which is a hardware solution, and I want to see the whole amount of time it has worked. Like sum of all the uptimes.
e. g. if it worked 3 hrs and then stopped and after 3 days worked 5 ...
1
vote
1
answer
717
views
Multiple timezone clocks in topbar on Ubuntu 20.04
I want to have several time zone clocks (cities with local time) in my top bar on my Ubuntu 20.04. There is a similar question and answer here but it does not work on my system as some users have ...
0
votes
2
answers
2k
views
Create a temporary users on ubuntu
I want to create a temporary user on ubuntu that gets deleted within a certain period of time.
I can extend the deletion time.
I can get the value of the remaining time for the user before deletion.
...
0
votes
0
answers
33
views
RTC set to something weird
Running 22.04.1, reinstalled tzdata (per Clock resets To UTC on Reboot) but still getting something really weird - I though the RTC was getting set to UTC, but it's almost the opposite, being 7 1/2 ...
0
votes
1
answer
876
views
Time is not Synchronizing
EDIT: The main problem seems to be that the UTC time is offset. If I fix the UTC clock, then the other time zones will be fixed as well. How can I update the UTC or correct it to the right UTC time (I ...
0
votes
0
answers
82
views
Time offsetting 2 hours after suspend
My computer had a suspend issue, where it couldn't resume from it. I tried several things and finally, it worked.
The thing is that, I tried many debugging strategies, and I remember specifically that ...
0
votes
1
answer
455
views
Time mismatch (local and universal)
I don't know why the displayed time in my Ubuntu 20.04 is different from real clock. As you can see below, I have synchronized the clock and then date command shows it is 02:54:49 PM CEST, but the ...
0
votes
1
answer
265
views
Time keeps reverting to incorrect UTC and Local time on boot, however BIOS is always correct
My correct time is UTC -5.
I can modify by sudo ntpdate ntp.uiuc.edu and it fixes the time, but reverts to incorrect time again on next boot. Regardless of what I set time zone to, it does not persist ...
2
votes
2
answers
2k
views
ntp, ntpsec, openntpd: which differences?
On my Ubuntu 20.04, I would like to use ntpd to perform a time synchronization. This program is not installed, but is present in 3 different packages.
Command 'ntpd' not found, but can be installed ...
0
votes
0
answers
606
views
Ubuntu 22 Display localtime instead of universal time
I want to display local timezone instead of Universal time in Ubuntu 22.04.1 LTS. It also displays same UTC +00 in all regional timezone. I did set time timezone manually nothing works.
sudo ...
0
votes
1
answer
129
views
SD Card reporting Date created in the future
Recently I swapped out the SD Card on my camera for an identical replacement.
The card is formatted by the camera as exFat.
After taking a few sample shots with the new card, I inserted the card to ...
2
votes
1
answer
14k
views
No time synchronization on Ubuntu 20.04
the time-synchronization does not work on my Ubuntu 20.04 (it always shows a time two hours ahead of the actual time). I have tried to follow the hints here and here but without success.
I have ...
1
vote
2
answers
2k
views
NTP active but system clock not syncronized
I am trying to synchronize my system clock on ubuntu 20.04. But on running systemctl status systemd-timesyncd I am finding the error as "Timed out waiting for reply from 192.46.211.253:123 (0.in....
0
votes
1
answer
2k
views
I manually changed the time in the GUI. Now, my system clock is not synchronized. How can I fix this?
As the title says, my system clock is not synchronized. This is problematic since I need to update my software, and I continue to receive errors such as "Release file ... is not valid yet." ...
1
vote
0
answers
193
views
change date format for timedatectl ubuntu
How to change date format for the command
timedatectl
I'm getting results like YYYY-MM-DD I need DD-MM-YYYY
Local time: Mon 2022-05-16 14:41:06 IST
Universal time: Mon 2022-05-16 09:11:06 UTC ...
12
votes
1
answer
857
views
Understanding output of command: date -d "12:24 <lower-case-alphabet>"
Can someone please help me understand why adding any lower-case-alphabet (a-z) as below makes a difference in date -d output and what do these letters in that command mean?
wip$ date -d "12:24 a&...