Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [time]

Questions relating to time and timezones.

1
vote
2answers
35 views

Ubuntu keeps displaying UTC time despite setting timezone

Something appears to be broken with regards to how Unity displays the system time in the current time zone. I am running an Ubuntu 16.04 guest in VirtualBox, on a Windows 10 host. I have changed the ...
0
votes
0answers
13 views

Problems with mouse and time [on hold]

I just installed Ubuntu 18.10 alongside Windows, and I have three problems. I have a bluetooth Microsoft 3600 mouse. When I try to connect it in a Windows session, I have no problems, but when I try ...
0
votes
0answers
20 views

Customizing the Date format in the top bar in 18.04 LTS [duplicate]

Ubuntu 18.04 LTS is showing only day month and date. I wanted to show Date like wed Oct 24, 12:57:50 PM. How to modify Date settings?
1
vote
0answers
16 views

error time desync with timedatectl

On server 18.04 I am having repeated sync errors detected by the small script and displayed here what is causing me big problems with some applications who has any idea of what can cause them? Thanks ...
0
votes
0answers
39 views

Ubuntu 18.04 clock is faster by 2min

Automatic sync is on for both time-zone (Automatic Time Zone) and time (Automatic Date & Time) in the settings pane. I also have tried this: sudo timedatectl set-ntp off sudo timedatectl set-ntp ...
18
votes
4answers
2k views

How do I check which years are leap years?

How can I find out which are leap years between 2014 and 2020 in a Linux terminal? Is there any way using some code like $cal - anything to show which years are leap years between 2014 and 2020 ...
2
votes
1answer
39 views

How can I have the date and time displayed in English without changing my locale settings?

I am in Nairobi, Kenya (EAT) and my Date and Time are displayed in Afaan Oromoo. I want to change this to English without having to change my locale. LANG=en_IE.UTF-8 LC_NUMERIC="om_KE.UTF-8" LC_TIME=...
1
vote
1answer
114 views

Measuring execution time of a command in milliseconds

I'm running Ubuntu 18.04 and am new to Ubuntu and Linux in general. I'm trying to measure the execution time of a command down to the millisecond. I would also like to append this time to a file, ...
0
votes
0answers
24 views

how to define interface-specific NTP server with systemd-timesyncd

I've been looking for a way to configure my 16.04 LTS laptop to only use default NTP (ntp.ubuntu.com) when on WiFi, but to use the local NTP service on our LAN when connected to the wired network. ...
1
vote
1answer
101 views

Does my system clock automatically sync to the hardware clock?

I know my hardware clock is based on a simple quartz clock and will go out of sync over time, but system time is based on the CPU clock and is super accurate as a result. I'm not in an environment ...
4
votes
1answer
45 views

Prevent clock from advancing to a system time after Ubuntu Server build time

I have an Ubuntu Server 18.04.1 LTS in a lab environment where I need to set the date a couple of years back in time (e.g. 2016-04-22). I can set the older date/time without any issues but the OS ...
0
votes
1answer
536 views

Timezone can't be changed

I am trying to fix an error in my timezone config on Ubuntu 18.04. When I go to the Date & Time control panel, no matter where on the map I click, it always says MDT (UTC-06). Also did the ...
0
votes
0answers
40 views

How do I restore drop down time zones in status bar? [duplicate]

In 18.04, the drop-down time zones in the status bar have disappeared. This was incredibly handy for someone who travels a lot, and also handy to get a quick look at the local time somewhere else. All ...
1
vote
1answer
145 views

Display dates in command output in different timezone

I have 27 systems those are connected to a server. In that, some systems are in different time zones. So, when a person turned on the system for the first time in the day, I need to find the login ...
0
votes
1answer
56 views

Clock Synchronization using ptp4l

I am trying to synchronize clocks using ptp4l and phc2sys. I followed this instructions. Unfortunately, I am seeing clock jumps: In 5 of the 6 servers, clock jumps by 2 hours. In the image, it goes ...
0
votes
1answer
24 views

Time discrepancy between dmesg and journalctl -k

Edit: I couldn't find out why this weird effect happens, but I found the culprit of the actual problem (slow bootup) to be the same as described here: https://bugs.launchpad.net/ubuntu/+source/...
0
votes
0answers
39 views

Ubuntu 18.0.4.1, change date time format display on panel [duplicate]

How change date time format display on panel? I execute below for the following format "Thu 14:05 08/30/2018" gsettings set com.canonical.indicator.datetime custom-time-format "'%a %H:%M %m/%d/%Y'" ...
2
votes
1answer
63 views

Reducing boot time

I am trying to reduce my boot time for Ubuntu 16.04 LTS as much as possible. What are the possible ways to get a list of unnecessary modules that are being loaded on boot? EDIT: systemd-analyze ...
2
votes
0answers
61 views

How to make Kubuntu display date and time in English?

I am using Kubuntu 18.04 and it seems that despite having my whole system being setup in English, the date and time display (like days) is sometimes displayed in French, it seems related to the ...
0
votes
1answer
52 views

Configure systemd NTP to set TAI offset

"New" kernel versions (since Linux 2.6.26) support TAI clock, but systemd implementation on Ubuntu (18.04 LTS in my case) seems to ignore it. How can I configure systemd NTP to mantain TAI offset ...
0
votes
0answers
20 views

I am trying to solve problem of time difference dual boot Lubuntu and Windows 10

All the remdeies I get is for Ubuntu, mostly to set UTC= no in rcs file. I don't find this file in Lubuntu. So what do I do?
0
votes
0answers
17 views

error in time command with zsh [duplicate]

I am on Ubuntu:- No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic On terminal, I run this command:- time -f "\t%E real,\...
0
votes
1answer
79 views

timedatectl set-local-rtc 1 gives unexpected behavior

The hardware clock in my virtual machine is the local time reported by my host (the local time is 10:14, but my VM incorrectly reports 6:14 as the local time): When I use sudo timedatectl set-local-...
1
vote
1answer
50 views

Booting Ubuntu from USB not keeping time setting or user info

I have made a bootable USB using RUFUS 3.1, Ubuntu boots fine, it just wont keep my time/date settings or my username and password info. I don't know what else its not keeping these are just the only ...
1
vote
3answers
2k views

Ubuntu 18.04 cannot set hardware clock as local time

I had a Ubuntu 18.04.1 machine dual boot with Windows 10, and these two OS has time conflict. Previous on my machine with ubuntu 16.04 this conflict can be easily solved with timedatectl set-local-rtc ...
0
votes
0answers
30 views

date-time always resets to particular date after reboot/shutdown

Whenever I reboot or shutdown my computer the date and time switch back to 19th July 19:58. I don't have dual boot only ubuntu 18.04 installed on the system. I have seen time change due to reboot/...
0
votes
0answers
16 views

How can I synchronise time between two Ubuntu machines without internet access? [duplicate]

I am running Ubuntu 16.04 on an Intel Aero RTF drone and a PC. I am having serious timing issues with the drone after every reboot, so I wish to synchronize its time with the PC's, whether that is ...
2
votes
1answer
1k views

How to sync the time to network with timedatectl on Ubuntu 18.04?

I've installed the OS and the time is incorrect. The timedatectl shows: System clock synchronized: no systemd-timesyncd.service active: yes RTC in local TZ: no How to force ...
0
votes
0answers
163 views

scrapy: twisted.internet.error.DNSLookupError

I am trying to scrap data from website with scrapy package but always I got the following error: no results for hostname lookup: {}".format(self._hostStr) twisted.internet.error.DNSLookupError: ...
0
votes
1answer
59 views

Time how long to open seamonkey

I am trying to time how long it takes to open some browsers. Not working. time seamonkey ReminderFox clh(1) {rmFx_cmdLine: [xpconnect wrapped nsICommandLine]} Does time only work with simple ...
5
votes
2answers
598 views

What is the difference between time and /usr/bin/time? [duplicate]

I have two commands that I through were the same, but they don't share the same parameter: time -f "%E %C" mycommandtomeasure /usr/bin/time -f "%E %C" mycommandtomeasure The first one does not ...
3
votes
2answers
118 views

Measure every single command within a bash file?

Is there a way to measure the time spent in every single command within a bash file? Hence, put time in front of every command. The quantity of commands is unknown right now, as I intend to use this ...
2
votes
0answers
70 views

Why it is impossible to type location in Ubuntu's “Time & Date” in Cyrillic script?

Why is it impossible to type (or find) the Russian city's name (e.g.: Moscow, Yekaterinburg) in All Settings > Time & Date > Clock > Choose Locations of Ubuntu 14.04.5 using Cyrillic ...
2
votes
1answer
2k views

Enable System clock synchronization

timectl is giving following output- Local time: Wed 2018-06-13 18:08:51 IST Universal time: Wed 2018-06-13 12:38:51 UTC RTC time: Wed ...
2
votes
2answers
337 views

Date and time in the past lost after reboot or poweroff/poweron

I am using Ubuntu 14.04.4 LTS (trusty) on a Freescale i.MX6 (ARMv7) processor. When I move the date and time to the future with respect to the currently set date and time, I am able to set ...
0
votes
0answers
121 views

Boot-up time too large due to userspace time

The boot up is very slow, and when I run systemd-analyze time, the results are as below Startup finished in 2.875s (firmware) + 4.979s (loader) + 4.741s (kernel) + 42.012s (userspace) ...
0
votes
1answer
595 views

Cannot hide clock in 18.04 LTS

I've just upgraded my 16.04 LTS where time was not shown. But 18.04 LTS seems to force me to see a clock on the desktop. Tweaks options does not work either:
0
votes
0answers
28 views

ubuntu 18.04 wrong time with dual boot Windows 10 [duplicate]

i install Ubuntu 18.04 with dual boot with windows 10 Windows 10 gives wrong time now.
1
vote
1answer
1k views

Xubuntu 18.04 wrong time with dual boot Windows 10

Whenever I boot into Windows after Xubuntu the time is wrong. In Xubuntu 16.04 I had to set Xubuntu to use local time with timedatectl set-local-rtc 1 but apparently this don't work in 18.04. Time ...
1
vote
1answer
254 views

Set date and time from http header in router with curl or wget

This technique should be similar or the same as on Ubuntu; though the following code does not work on the router. One method is the following: dateFromServer=$(curl -v --silent https://google.com/ 2&...
0
votes
3answers
50 views

Sending an alert email if time for a curl command exceeds 1 sec

I am trying to a write one liner for sending an alert email if the time taken for curl command exceeds 1 sec. if time curl {URI} > 1; then mailx -r me@domain.tld -s ALERT; fi How since time ...
0
votes
0answers
67 views

ubuntu 18 laptop awake with close time

asus laptop with ubuntu 18.04 awakes with close time. I run sudo chronyd to update time. Is there an awake schedule of tasks that can do this function?
1
vote
0answers
67 views

VLC Time Slider not working

I have a problem with my VLC on ubuntu 16.04, my vlc time slider can't be clicked. When i hover the cursor on it my cursor icon change to resize icon. any answer apreciated screenshot
0
votes
0answers
45 views

How to solve Ubuntu dedicated server date and time problem with litecoind?

I installed litecoin daemon on my dedicated server (Ubuntu 14). I set the configuration in .litecoin/litecoin.conf like this: server=1 rpcuser=test rpcpassword=testpassword rpcallowip=XX.XX.XXX.XXX ...
1
vote
2answers
614 views

How does date command interact with timedatectl?

I have two 16.04 servers. The timedatectl on both machines shows that network time is ON, and NTP is synchronised. Both are using UTC. I then set the date to a random day next month using the date ...
4
votes
1answer
620 views

Why is Chrony taking over network time sync responsibilities?

I am wondering why is Chrony replacing NTPd as the default component for network time sync. What is the advantage, and ideally, was there a discussion of pros-and-cons somewhere I can read for my ...
2
votes
1answer
605 views

Set suspend idle delay time on terminal on Ubuntu 18.04

How can I set idle delay time on Ubuntu 18.04 suspend on terminal?
6
votes
1answer
589 views

Using time -v to calculate execution time. Command not found

I'm trying to measure the execution time of a C program I wrote. However, I want to see a detailed output of different times, percent of CPU use, etc. I try time -v ./a.out But I get an error that ...
3
votes
2answers
2k views

I wish to configure Time Synchronisation on Ubuntu 16.04.4 but timedatectl give Failed to create bus connection: No such file or directory

When I look at https://help.ubuntu.com/lts/serverguide/NTP.html I can see the current time configuration with timedatectl but I always get an error. $ timedatectl status Failed to create bus ...
1
vote
1answer
436 views

excessive system clock drift? (2+ minutes per hour)

I am running a reasonably new install of 17.10 on a new system (fully patched, and not virtualized), and noticed that the boot time listed in /proc/stat's btime entry kept changing. This broke some ...