As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [time]

Questions relating to time and timezones.

Filter by
Sorted by
Tagged with
1 vote
1 answer
44 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 ...
HappyFace's user avatar
  • 315
2 votes
1 answer
56 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 ...
kakakakakakakk's user avatar
1 vote
1 answer
108 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 ...
Luiz Carlos's user avatar
1 vote
1 answer
919 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 ...
SOV's user avatar
  • 13
-2 votes
1 answer
83 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 ...
thezbx's user avatar
  • 1
0 votes
0 answers
278 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 ...
John Smith's user avatar
0 votes
1 answer
33 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 ...
Stumblng Tumblr's user avatar
0 votes
1 answer
392 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 ...
Shweta Kiran's user avatar
1 vote
0 answers
45 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 ...
Jos's user avatar
  • 27.7k
0 votes
0 answers
51 views

RTC Time Completely Off

I'm having a weird issue that just happened in the past few months. When waking up my computer, the date time would jump back and forth between the right datetime and 2033-09-26 11:56:24. When I check ...
PressingOnAlways's user avatar
0 votes
0 answers
25 views

Dual-Boot Win11+Ubuntu, system time keeps changing [duplicate]

I have Windows11 and UbuntuStudio 22.04 on a recent HP laptop. My laptop (and me) gets vera confused about the time set in each OS (Ubuntu / Windows). If the time is right in Windows (say UTC+1h), ...
Vinz M's user avatar
  • 21
0 votes
1 answer
33 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 ...
XDAS CXCX's user avatar
1 vote
1 answer
111 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 ...
ka3ak's user avatar
  • 363
0 votes
0 answers
52 views

How to setup a NTP server on ubuntu that provides Local time instead of UTC time for clients?

How can I setup a NTP server on ubuntu that provides Local time instead of UTC time for clients? Some of the clients aren't able to set a Time zone and don't automatically account for Daylight Savings ...
Nugg3n's user avatar
  • 1
0 votes
1 answer
62 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. ...
Ekaveera Gouribhatla's user avatar
2 votes
2 answers
96 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:...
cprn's user avatar
  • 1,149
1 vote
2 answers
93 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 ...
Nikitiy's user avatar
  • 13
1 vote
1 answer
173 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 ...
V Kahn's user avatar
  • 13
0 votes
2 answers
755 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. ...
Said Dias's user avatar
0 votes
0 answers
24 views

An error occurred during the file system check [duplicate]

Checking filesystems /dev/sda6: clean, 114325,960992 files, 840062;3040000 blocks /dev/sda2: clean, 22,960992 files, 109552,3840000 blocks , /dev/sda9: Superb lock last mount time (Fri Dec 2 12:...
Jack's user avatar
  • 1
0 votes
0 answers
24 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 ...
Alan's user avatar
  • 1
0 votes
1 answer
401 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 ...
Pranai Rao's user avatar
0 votes
0 answers
44 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 ...
TheCodeLearner456's user avatar
0 votes
1 answer
209 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 ...
mahmood's user avatar
  • 1,786
0 votes
0 answers
25 views

How to make sure a ntp client has synchronized data/time with a ntp server?

I'm using chrony as a ntp server, enabled by allow all. I have another device which can be configured to a ntp server address. My question is, from my own device (the ntp server), how can I make sure ...
Felix F Xu's user avatar
0 votes
1 answer
50 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 ...
c1gn3t's user avatar
  • 1
0 votes
2 answers
249 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 ...
Covich's user avatar
  • 213
0 votes
0 answers
302 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 ...
Sujan's user avatar
  • 1
0 votes
1 answer
92 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 ...
Worn-out_home-tech's user avatar
1 vote
1 answer
5k views

No time synchronization on Ubuntu 20

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 ...
Philipp's user avatar
  • 11
1 vote
2 answers
538 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....
Aryan Agarwal's user avatar
0 votes
1 answer
1k 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." ...
MRSchwob's user avatar
1 vote
0 answers
126 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 ...
Ramesh KR's user avatar
  • 121
12 votes
1 answer
848 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&...
c10's user avatar
  • 123
2 votes
1 answer
899 views

How can I customize the time and date format in the top bar, without a shell extension?

There are several Gnome Shell extensions, but how do they work? Can I do what they do? I want to use a customized date/time format string myself, without requiring a shell extension. Is there ...
MiguelitoCogito's user avatar
0 votes
0 answers
370 views

Ubuntu 20 python: "OverflowError: mktime argument out of range"

Enviroment OS version: Ubuntu 20.04.2 LTS python version: python3.8.5/python3.7.1 pendulum: 1.4.4 Details I am using airlfow1.10.12. And I find the boom like this OverflowError: mktime argument out of ...
Mapleaves's user avatar
0 votes
0 answers
139 views

Unit & magnitude of NTP / ntpdate

I have a cluster of 10 virtualized ubuntu servers. For all of them, I installed the ntp-Daemon. Since I currently running some time sensitive experiments, I am interested in the offsets between my ...
moosehead42's user avatar
3 votes
1 answer
4k views

Timezone getting set wrong in WSL?

Running Ubuntu in WSL2 my clock is getting screwed up somehow. And when I try to set it again using: sudo dpkg-reconfigure tzdata It still gets set about an hour behind the real time. The screenshot ...
J. Scott Elblein's user avatar
0 votes
0 answers
79 views

Ubuntu keeps on using internet time instead of RTC time

How do I make Ubuntu use the RTC time as the operating system time instead of waiting for my internet to connect to update the time? When my PC wakes from the sleep state, Ubuntu displays the old time ...
anonymous's user avatar
0 votes
0 answers
77 views

Two letter abbreviated weekday name

Running $ date produces Mo 15 Nov 2021 18:02:27 CET. Apparently the standard weekday name should have three letters, i.e. Mon in this case, and it is causing some problems with one software I'm using. ...
tom's user avatar
  • 73
1 vote
1 answer
625 views

Cannot modify, create files/ folder in HDD with Ubuntu and Windows running on same SSD in PC

To introduce myself, I'm new to Linux and have a passion to work with Linux rather than Windows10. I bought a New-PC Pre-installed with Windows 10 on SSD. Installed Ubuntu to the same SSD as Dual Boot ...
Mathi UV's user avatar
1 vote
1 answer
719 views

NTP Configuration not being used

I am trying to set up a GPS NTP server on my SBC running Ubuntu 20.04 (headless) but I am having a configuration issue. When I reboot I get this: $ ntpq -p remote refid st t when ...
Zach's user avatar
  • 158
0 votes
2 answers
265 views

Which file operations trigger directory modification time and date to change?

I have a directory named IT-documentation. Using ls -l in the terminal at its parent directory level yields (among numerous other lines) drwxr-xr-x 16 robin robin 4096 Oct 31 08:02 IT-documentation ...
robin's user avatar
  • 1
2 votes
0 answers
2k views

Wrong system time when NTP is enabled?

I am running Ubuntu 20.04 on my laptop. Ever since the installation I have never had any problems with the date/time going out of sync. But today when I started the laptop the system time was ...
david.mihola's user avatar
0 votes
1 answer
357 views

zone.tab file has disappeared causing the timezone to default to UTC

For whatever reason, the time on my Xubuntu 21.04 system has gone all awry and has defaulted to UTC. I cannot change the time as the time-admin program refuses to load with this error: ** (time-admin:...
islandmonkey's user avatar
0 votes
1 answer
64 views

ubuntu time glitch [duplicate]

Running 20.04lts on gateway e-475m laptop, dual boot with win7, and 'use internet to set clock' is OFF for both OS's (reason will become obvious...), and my bios clock is set for local time. For win7 ...
The MAJOR's user avatar
0 votes
0 answers
134 views

Time change after suspension

After I on my laptop after suspending, the time automatically changes and shows a wrong time. But once I restart and boot back it gets normal until I suspend again. I use a HP pavilion, with ubuntu ...
Rahul M's user avatar
  • 45
1 vote
0 answers
39 views

Can I display UTC offset rather than local offset in the desktop calendar applet?

I have configured some world clocks in the Gnome Clocks application, and they appear on the Ubuntu desktop calendar as expected, see below. (I don't know the correct name for the "desktop ...
lofidevops's user avatar
  • 20.3k
-2 votes
1 answer
2k views

How to add 15 or 30 or 60 minutes to the time 15:00 PM..?

#!/bin/bash #the vm shutdown tag tag="15:00 PM" #the "/usr/bin/input_azureuser.log" file contains snooze data in minutes #snooze_time values will be "15,30 or 60" ...
Haridvpsk's user avatar
4 votes
1 answer
622 views

How can I display two different time zones at the very top where there is only one now?

I work remotely for a company 16 hours ahead so would like both dates and times at the top if possible. Is there any way without opening an app or a dropdown box? Just always displaying at the top. ...
mLstudent33's user avatar

1
2 3 4 5
12