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.

0
votes
0answers
38 views

systemd-timesyncd service is running in idle and doesn't synchronize time

I'm trying to synchronize time on my Intel NUC that is running Ubuntu 16.04.3 LTS with an NTP server that is running on a Windows PC. I already checked that the NTP server is running correctly. It ...
2
votes
1answer
21 views

Time and week start day in Thunderbird in Ubuntu 18

Thunderbird in Ubuntu 18.04 I did set 24hrs format in Ubuntu by settings - Date & Time - Time Format and I have correct time on the top of my screen. However, I still have 12hrs format in ...
1
vote
1answer
45 views

Time zone for Gnome Top Bar Ubuntu 18.10

Ubuntu 18.10 My Gnome Top Bar is displaying UTC time. I want local time. Ubuntu Time and Date Settings are correct and show Timezone: America/Chicago $ date shows the local time I installed "...
2
votes
0answers
56 views

What is the time synchronization precision in Ubuntu 16.04?

I have Ubuntu 16.04 with synchronized time: $ timedatectl Local time: Fri 2018-12-21 23:00:50 UTC Universal time: Fri 2018-12-21 23:00:50 UTC RTC time: Fri 2018-12-21 23:00:51 Time zone: ...
0
votes
0answers
33 views

Is anyone tried ntp with restrict default nopeer command

NTP version installed: ntp-4.2.6p5-5 I'm trying to understand the usage of below ntp restrict command : ----> restrict default nopeer Below is the reference info shared in ntp documentation: http://...
0
votes
0answers
34 views

Chronyc doesn't show as unsynced when manually changing time

Chronyc appears to be functioning normally (for the most part). I have added makestep 1 -1 to the config to allow large deltas, and minpoll 6 to checking every 64 seconds. Chronyc will sync the time ...
0
votes
0answers
38 views

Fix or reset “Automatic Date & Time” in Ubuntu 18.10 on XPS 9570 laptop

I have an issue where the date and time is set wrong when I use Automatic Date & Time in Settings to set the time from the internet. I've attached screen shots to show what happens when I enable ...
-1
votes
0answers
52 views

how to disable automatic clock?

I disabled "Automatic Date & Time" in the system settings and it still automatically updates the clock when I reboot the system. Even worse- it updates to a clock that is not the one set in the ...
2
votes
1answer
34 views

time wrong on sdcard images in Ubuntu, okay on camera and Windows

when i take a picture and put the sdcard in my Ubuntu 18.10, the picture date is 6-hrs ago. but if i look at it in my panasonic camera, the time is correct. if i look at it in windows, the time is ...
0
votes
1answer
37 views

Ubuntu 18.04 x64 time format with nodejs

I'm using Ubuntu 18.04 x64 on VPS, I never used it before. I created huge nodejs script with new Date().toLocaleTimeString() and new Date().toLocaleDateString commends, on Windows 10 everything ...
1
vote
0answers
113 views

How to display custom formatted clock in top bar on multiple displays in Ubuntu 18.04?

I have a pretty specific problem, that I have had no luck trying to find a working solution to. I have a laptop running Ubuntu 18.04 docked using 2 external monitors resulting in 3 screens. I want to ...
2
votes
1answer
127 views

18.04 not showing correct time (not a dual boot issue)

I realize that this is a common issue, but I can't find the fix to my problem. Live in "America/Chicago (CST, -0600)" but ubuntu is showing UTC time. It is 4pm local time here: $ timedatectl ...
2
votes
4answers
223 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
25 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
29 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
52 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
40 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
438 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
46 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
153 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
97 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
626 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
142 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
43 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
45 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
83 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
120 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
123 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
21 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
116 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
64 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
3k 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
32 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
18 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 ...
3
votes
1answer
2k 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
266 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
62 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
908 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
126 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
71 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 ...
3
votes
2answers
3k views

Enable System clock synchronization

'timedatectl' 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 ...
2
votes
2answers
461 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
140 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) ...
1
vote
2answers
923 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
29 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 ...