Questions tagged [time]

Questions relating to time and timezones.

Filter by
Sorted by
Tagged with
0 votes
1 answer
87 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." ...
user avatar
1 vote
0 answers
26 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 ...
user avatar
  • 121
12 votes
1 answer
832 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&...
user avatar
  • 123
2 votes
1 answer
125 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 ...
user avatar
0 votes
0 answers
104 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 ...
user avatar
0 votes
0 answers
64 views

How do I reduce boot time?

Boot time is over 7 minutes running Ubuntu 20.04.3. My hardware: Akoya LT - WIM2220 with SSD How do I reduce the boot time to under 1 minute?
user avatar
  • 1
0 votes
0 answers
51 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 ...
user avatar
1 vote
1 answer
516 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 ...
user avatar
0 votes
0 answers
59 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 ...
user avatar
0 votes
0 answers
186 views

Ubuntu messes up with Windows clock [duplicate]

I run Ubuntu Mate 20.04 LTS along with Windows-10 on a dual boot desktop. My local time zone is USA PST, (which is GMT-8:00). The problem happens when I switch to Windows. Suddenly, I discover that ...
user avatar
0 votes
0 answers
34 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. ...
user avatar
  • 73
1 vote
1 answer
124 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 ...
user avatar
0 votes
2 answers
229 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 ...
user avatar
  • 138
0 votes
2 answers
30 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 ...
user avatar
  • 1
0 votes
0 answers
34 views

Non-stop back-and-forth time zone update

Automatic time zone update works but every few seconds it updates either to Rome or to Zurich. Every time a system notification pops up. How to calm it down? == timedatectl ; lsb_release -a gives ...
user avatar
  • 141
2 votes
0 answers
637 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 ...
user avatar
0 votes
1 answer
137 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:...
user avatar
0 votes
1 answer
48 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 ...
user avatar
0 votes
0 answers
35 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 ...
user avatar
  • 15
1 vote
0 answers
24 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 ...
user avatar
  • 19.5k
-2 votes
1 answer
532 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" ...
user avatar
4 votes
1 answer
473 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. ...
user avatar
1 vote
1 answer
901 views

timedatectl on ubuntu server 20.04

I have an ubuntu server (20.04) where timedatectl is failing to set the timezone. On the first call, it always fails, on the second it thinks it has succeeded but actually it hasn't: Beforehand the ...
user avatar
1 vote
3 answers
3k views

Why is the time not syncing?

I want the time to sync, but it's not. I tried running the following commands, but it's still not syncing. # timedatectl set-ntp off # timedatectl set-ntp on # timedatectl status ...
user avatar
  • 1,770
3 votes
1 answer
789 views

How to make date show day/month/year in numbers instead of letters and words?

At the moment, this is how the date and clock looks like in Ubuntu's top bar: In Estonian, "R" stands for "Reede" or "Friday", and "Juuli" means "July&...
user avatar
  • 109
1 vote
0 answers
46 views

where to find an example png file which has date and time metadata that eye-of-gnome (eog) shows

I'm using xubuntu 20.04 and have installed the eye-of-gnome (eog) on it. The version of eog is GNOME Image Viewer 3.36.3 On the right side of the eog window (which is called "Image Viewer") ...
user avatar
  • 45
0 votes
1 answer
141 views

gpsd and chrony single gps pps setup

I have a system that will be offline most of the time. I have gpsd and chrony setup, and am able to share gps and pps with chrony via the shared memory. my goal is to make sure the server can share ...
user avatar
0 votes
1 answer
45 views

Get remotetime via commandline, set it to local clock with TZ

I was experimenting with the clock. Changed it on local box. After that, Google and other SSL websites stopped working so I was not able to get the exact local time (I don't wear a watch). Luckily, ...
user avatar
  • 477
0 votes
0 answers
74 views

Unable to use/find gettimeofday in Ubuntu kernel

I am using Ubuntu 20.10 with kernel source 5.8.0-59.66 I need to get the current time of day (from the epoch) within the kernel. Using either RHEL 7.9 or CENTOS 7 I have relied on the gettimeofday() ...
user avatar
  • 1
9 votes
1 answer
2k views

How can I change the date and time format in GNOME Shell's top bar?

I'm using Ubuntu 20.04 LTS. I want date and time in GNOME Shell's top bar to have the following format: Sun Jun 13 07:26AM IST 2021 instead of the current: Jun 13 12:53 PM How can I achieve this?
user avatar
  • 153
0 votes
0 answers
80 views

Setting time with date and hwclock does not permanently set the time

I'm running these: ~$ sudo date --set="2021-06-09 16:33:50.0" Wed Jun 9 16:33:50 UTC 2021 ~$ sudo hwclock --systohc once the system is rebooted it loses the info and its 4 hours off. This ...
user avatar
0 votes
0 answers
654 views

Universal Time different from RTC time in timedatectl

As you can see in below, my Universal Time different from RTC time. It has 5 seconds later. My current Date is also 5 seconds later than real time. How can I fix it. I don't want to install ntpd or ...
user avatar
2 votes
1 answer
645 views

How to remove the "Add World Clock" in the notification area?

I'm on Ubuntu 20.10 and in this update, the events show at the bottom of the calendar along with the add world clock option as in the screenshot below. I know this got here because of I installed &...
user avatar
  • 1,216
1 vote
0 answers
751 views

systemd-timesyncd service

I am have mentioned an IP in /etc/systemd/timesyncd.conf as NTP=192.168.1.180 and restarted the service through following command systemctl restart systemd-timesyncd but I time isn't syncing with ...
user avatar
0 votes
0 answers
2k views

Failed to set ntp: NTP not supported

Mu Ubuntu 20.04 suffers from time synchronisation problems. Particularly: v@v-VirtualBox:~$ timedatectl Local time: Sat 2021-05-01 09:30:44 EEST Universal time: Sat 2021-05-...
user avatar
  • 567
1 vote
2 answers
2k views

Why does local time reset itself to wrong time after "timedatectl set-time"?

I have a server (Ubuntu 20.04) with an asynchronous time (wrong by around 7.5 minutes; RTC already seems to be equal/close to the "real" time) which I want to correct: timedatectl ...
user avatar
0 votes
0 answers
30 views

Time in top bar with applications in Ubuntu 20.04.2 LTS

In my desktop, the top bar has the file through help menus for the current application, but I have to click the windows key to show the time etc on top. Is there a way to show that top bar with the ...
user avatar
0 votes
1 answer
203 views

How to find out which NTP (Network Time Protocol) is configured on Linux-ubuntu

I'm working on ubuntu where i want see which NTP is used as default, ex. chrony! and if its even configured for the purpose of correct time synchronisation in a cluster of another app. So How can i ...
user avatar
  • 119
0 votes
1 answer
49 views

Clock time off on dualboot

so i got windows 10 pro and ubuntu 20.04.2 lts on my dell latitude e5450. When i boot to ubuntu, then restart to windows 10, the time is wrong. It changes the bios time to +4 hours from now (UTC).
user avatar
  • 3
0 votes
1 answer
56 views

accessing the GUI date/time setter programmatically

I'm maintaining a turnkey application. The customer has requested a date/time setter which would allow the user to set time, date, and time zone. (Evidently, some of our units will be going into ...
user avatar
  • 101
0 votes
0 answers
46 views

Hard drive failing only on Sunday morning

A couple of weeks ago I started to have a problem with my HDD in my system failing to mount during boot. My system is set up to boot the root partition, / , from an SSD them boot /home from an HDD. ...
user avatar
1 vote
0 answers
27 views

Why is the time in ubuntu different from that in windows? [duplicate]

I recently installed ubuntu 20.04 alongside Windows 10 in dual-boot and when I was working with these two operating systems, I understood that the time in ubuntu is not the same as the time in windows....
user avatar
1 vote
1 answer
251 views

Does ubuntu OS time settings update with daylight savings?

We use ubuntu docker containers in production. We need to ensure, that time(time.Now().UTC() in GoLang) given by OS reflects daylight savings(when needed) Does ubuntu OS clock time, update with ...
user avatar
1 vote
4 answers
734 views

`ls -l` output duration instead of date/time eg "5 mins"/"6 hours"/"7 days" etc?

If I last modified a file 5 minutes ago, is it possible to make ls-l output something like "5 mins" instead of the actual date/time?
user avatar
  • 2,465
0 votes
1 answer
635 views

Suggest any GUI App similar to digital wellbeing or Qualitytime for Ubuntu

I am new to Ubuntu. I want to count the total time spend on each app and on-screen time. Is there a software for the same? For example Digital Wellbeing and QualityTime.
user avatar
  • 11
2 votes
0 answers
20 views

Samba share write access allowed in chosen time - how to do it?

I would like to configure a samba share to be writable only within scheduled time. What is the best method to do it? Regards Kriss
user avatar
  • 21
0 votes
1 answer
128 views

Long load time for kernel after Boot repair

After a necessairy boot repair, the kernel load time is significantly longer than normal: 34s. http://paste.ubuntu.com/p/s45GGcf22B I don't know how to fix that. about: Long kernel load time the Intel ...
user avatar
  • 91
0 votes
1 answer
3k views

Chrony time service doesn't work perfectly, synchronisation problems

On our Ubuntu 20.04 servers we run chrony as a time service. Unfortunately we always have time synchronization problems. It would be great if it ran always correctly for up to 0.05 seconds. How can we ...
user avatar
  • 43
0 votes
1 answer
75 views

how to swap the time and cpu usage in shell script

This is my code here, ps -eo %cpu --sort=-%cpu |head|tail -n+2 | sed "s#^#$(date +%T);#" and the display will be like this: 01:29:29; 1.2 may I know if I want the output like: 1.2;01:29:29 ...
user avatar
2 votes
1 answer
114 views

Running, or "injecting" software with specific date [duplicate]

Is there a package or a way to run a software with a specific date or time so that when you run it, it uses the date you input instead of your system date.
user avatar
  • 25

1
2 3 4 5
12