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 [date]

Questions regarding NTP(network time protocol), cron(task scheduler) and the display of date and time in the panels and elsewhere in Ubuntu. This is an overly general tag, avoid using it if possible.

3
votes
1answer
74 views

How Can Krusader Prepend the File Modification Date in ISO 8601 Format to the Original File Name?

I want to prepend the file modification date in the form YYYY-MM-DD_ to each existing filename (i.e. for files only, not for directories). I have seen that krusader has a multiple file renaming ...
0
votes
2answers
65 views

Is the current Date/Time format retrievable?

My task bar shows "Sat Feb 9, 5:41 PM". Where does Ubuntu store the current Date/Time format information? Is it retrievable? I will be programming in Java, and would like to access the current format ...
0
votes
0answers
12 views

Putting date on menu bar in Xubuntu.Date & time

How to put current date on the menu bar in Xubuntu 18.04. Tried right click on time on menu bar. Also system and settings. Does not show a check box to show date.Adding Thanks
-1
votes
0answers
31 views

How to change time from command line without messing up with SSL handshake

I am using Linux in an embedded machine and would like to implement time/date change functionality. I discovered and tried to use timedatectl, but it caused a couple of problems in my Qt application. ...
0
votes
0answers
36 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
20 views

How to Change Base Folder Date

I have a backup drive and keep seven rolling backups for the past seven days using Days of the week within a Bash script. day-1/home/username/.config day-2/home/username/.config When I look at that ...
0
votes
0answers
41 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 ...
2
votes
2answers
477 views

How to make new file with date in it?

I can create a new file and put the date in it. touch example.txt date >> example.txt But I must create the file with the date in it the moment I created the new file. How do I do that with ...
0
votes
0answers
45 views

New Thunderbird (version 60+) to show emails' date with four-digit again?

Recently in Ubuntu 18.04 LTS we got a new Thunderbird version, jumping from version 52 something to now version 60.2.1 In the e-mail section which lists all e-mails, as well as in the individual e-...
1
vote
1answer
131 views

Why isn't the date visible on the top bar? [duplicate]

The day of the week time is displayed on the top bar... Why isn't the date displayed there, like it was in previous versions??? Why on earth would this capability have been removed???
4
votes
2answers
158 views

How to display date under time in GNOME

In Ubuntu 18.04, my current desktop looks like this: How do I display date under time in GNOME panel as below?
2
votes
1answer
43 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=...
4
votes
1answer
112 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 ...
1
vote
2answers
88 views

What is the date command line corresponding to var=“$(date +”%x %r %Z“)”

If I run the following command line on Ubuntu: var="$(date +"%x %r %Z")" echo var I can get the desired output. But If I just run date +%x %r %Z I will be given errors: date: extra operand ‘%r’ ...
0
votes
1answer
644 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
32 views

Month and Week names are lower case [duplicate]

"Dates & Times" for Brazil are lower case while other locations it is title case. I am using Ubuntu 18.04. Where should I report this issue? I still don't have an answer. Many languages have ...
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'" ...
-1
votes
1answer
64 views

Change default date format

I've been trying to change the default date format since past few days. Current format:- $date Mon Aug 20 14:14:43 IST 2018 Expected format:- $date Monday August 20 14:14:43 IST 2018 Current ...
1
vote
1answer
259 views

NTP summer date in Brazil is incorrect

I have a problem with an Ubuntu server hosted in Amazon services. NTP summer date is incorrect for Brazil, I followed all instructions in the documentation of Ubuntu Server and followed this guide, ...
0
votes
1answer
360 views

How can I change the default date format (using LC_TIME)?

How do I change the format of date command by modifying LC_TIME in locale? Currently the day of month uses %e format. I need it to be displayed in %d format. Below is the Current Format: #date Thu ...
1
vote
1answer
218 views

Change date format on Ubuntu Mate 16.04 LTS also affecting Thunderbird

How can I globally change the date format on Ubuntu Mate 16.04 LTS which also affects Thunderbird?
2
votes
2answers
484 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
1answer
36 views

Timezones Problems

I have an issue with my time zone, when i use this command i can see the date: $ timedatectl and it shows me the next message: Local time: Wed 2018-06-06 11:02:25 -04 Universal time: Wed 2018-06-...
0
votes
1answer
27 views

Is there a way to preserve modified date from a directory if I remove a file from it?

I'm kind new on Linux world and trying do some stuff, like creating that classic bash example to remove files older than X days. I was able to do that, but there is one think I can't solve, when the ...
5
votes
0answers
10k views

Ubuntu 18.04 how to show date in top bar [duplicate]

In my top bar, only the time is shown. How can I also see the date there?
10
votes
2answers
4k views

Ubuntu 18.04 show date and time on every screen

Since the update to 18.04 from 16.04, i see top bar with date and time only on the primary screen of my notebook. On the other screens the top bar is not shown. Another anoying thing is i see only ...
2
votes
1answer
54 views

Remove date in desktop icons' name

How to remove date (most probably the last modified date) from the desktop icons' name? I tried renaming it but the date still does not go. I have dragged the folder from nautilus to desktop. I am ...
0
votes
2answers
40 views

Laptop setting date to random time upon battery dying

The title says it all. Whenever my laptop dies, it just sets the time to something wayyy ahead of what we're at, like June 28th, 2184 at 4:02 AM. Any fix for this or is my laptop just screwed? I'm ...
1
vote
1answer
326 views

How to remove only files created before a specific date and time

l would like to remove from my directory files which have been created before 04/29/2018 at 4:00 pm. Thank you
1
vote
0answers
27 views

Timesync of virtual server

I have a Linux (Ubuntu 16.04 LTS) virtual server (using virtuozzo) running at a external provider and was not able to get 2-factor-authentification running in my nextcloud instances. I think this is ...
0
votes
1answer
34 views

Kubuntu: show date and time on 2 lines

On one of my Kubuntu 14.04 systems, the date and time are displayed on separate lines. On the other system, they're displayed on a single longer line. How can I control the number of lines?
3
votes
1answer
432 views

Converting list of dates/times from GMT to PST

If I run the command by itself it seems to be working fine. As example using: date --date='TZ="PST" Sun Jan 01 05:00:10 2017' Sat Dec 31 21:00:10 PST 2016 However, I'm trying to use an input file ...
0
votes
1answer
2k views

Kerberos authentication: clock skew too great

When trying kinit viesturs@SERVER.COM I get viesturs@SERVER.COM's Password: kinit: krb5_get_init_creds: Clock skew too great What to do? Here is my timedatectl status $ timedatectl status ...
0
votes
0answers
263 views

Ubuntu Mate time synchronisation issue

I can't manage to fix the time on the Ubuntu Mate I have installed on a Raspberry Pi3. "timedatectl" reports Local time: Tue 2018-02-20 15:30:22 GMT Universal time: Tue 2018-02-20 15:30:...
2
votes
1answer
50 views

date wouldn't change from console

I'm in need to temporarily change the date to debug one script and I run inti unexpected problem: root@xxx:/# LC_ALL=C date Wed Jan 31 17:09:02 EET 2018 root@xxx:/# LC_ALL=C date -s "2018-01-10 17:09:...
2
votes
2answers
217 views

How to use “date” command parameters

I have read the date command manual. There are many format controls like %a, %b, %c, and so on. After reading through the manual I did echo $(date %s) to know the absolute time. It was not correct ...
1
vote
1answer
41 views

Ubuntu Server How to delete timezone

I try to set my timezone to asia/kuala lumpur. But it came out with 2 timezones, how do I delete the universal timezone?
0
votes
0answers
149 views

Automatically Sync system time from hwclock once a day

My system time on a ubuntu 16 EC2 instance seems to keep shifting, couple minutes every month, after 4 months they have shifted so far that calls to the AWS api are failing. The hwclock seems fine - ...
1
vote
1answer
108 views

Clock Overide Extension Versus dConf When Formatting Time Display

First let me say that the new extensions support in Ubuntu 17.10/Gnome 3 is a great feature. My question has to do with formatting the time and data that appear in the upper bar at the top of the ...
0
votes
0answers
197 views

Configuring date and time in Ubuntu 17.10 [duplicate]

I like to have the date and time in ISO format (2017-10-30 19:57) on the top right of the screen. I also like to be able to configure things from the command line (an issue not addressed in the ...
10
votes
3answers
3k views

How do I customize the date/time display in GNOME Shell's top bar?

Time indicator is shown as "%a %H:%M" in the center of the top bar. How do I move it back to the right where it belongs, and make it include the full date and time ("%Y-%m-%d %s %H:%M")?
2
votes
1answer
300 views

date command not resolving properly in bash alias

I'm trying to set up a way for me to just type newjournal, and a new journal entry named year-month-date-time.txt is created in a year subdirectory in ~/documents/journals. I've got it set up as an ...
1
vote
0answers
30 views

Date not localised [duplicate]

I'm having an issue with date format. It shows as short day, month, day number, time. But all my location settings are GB, so I was expecting short day, day number, month, time. I've tried updating ...
0
votes
0answers
113 views

16.04: I can no longer open time and date settings

I can click on the time and date settings from the drop-down menu in the top right all I want, but nothing happens. I've tried rebooting. Any ideas on how to fix this?
3
votes
2answers
202 views

Can't coordinate the correct time between system and rtcwake

The ultimate goal is to have my system shut off at the end of a script and wake up at a defined time the next day. I'm using rtcwake to get this done, like so (I am also printing the date and time to ...
0
votes
0answers
55 views

Change Time & Data formatting in menu bar and Add another time to another location

How could I change the format of the time and date in the Panel? I don't mean change it from time and date Settings, but to my own format, like: [day name , day- month name , month number -year / h(...
1
vote
1answer
727 views

Change Ubuntu time and date for specific application

Is there any application which can manipulate time and date for any specific application? If I change date and time of system then browser can't let me access internet. Any help will be appreciated. ...
3
votes
1answer
163 views

Rename and convert dates in filename without file extension

My set of files are named according to GMT time zone. I successfully renamed and converted all files into the required time zone using the following steps. 1. This code removes all file extensions ...
0
votes
0answers
61 views

Kubunu 17 Calendar Language

I have all my language set to British English but the calendar on the login splash and on the desktop panel shows in French. Very mysterious. What do I need to set to get this in English?
3
votes
1answer
266 views

Find Saturday before file date in bash

I have a directory containing a large number of files to iterate and would like an efficient way to find the Saturday prior to the file's time of last modification. Here are two examples. The first ...