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.

311 questions
181
votes
7 answers

How can I display the current time & date setting?

How can I display the current time configuration, like the time zone, in Ubuntu?
usef_ksa
  • 1,913
91
votes
7 answers

How can I change the date and time on Ubuntu?

When I go to change the date and time it doesn't work. I try to unlock but it just won't unlock. If there is any way to make it work please help. I know it isn't very descriptive but I really would appreciate some answers.
viaggio
  • 911
  • 1
  • 6
  • 3
87
votes
8 answers

How to fix wrong system time and date?

I just ran a clean install of 12.10 on my sys76 laptop. Time and date reads: 19:36 31 december 1969, even though it is: 13:29 07 november 2012. I have it set for my location and it won't change manually, even tried in the command line with tz. I…
dysonsphere
  • 871
  • 1
  • 7
  • 3
71
votes
3 answers

How to change Date/Time format to English?

I have installed Ubuntu 13.04 and set my local time/date and its working, the only thing that's bugging me is that I cannot change it to English. I would like to do this because it is hard to read and it is not showing it in the proper format in the…
Qasim
  • 22,162
68
votes
7 answers

How do I show date next to time in the panel with gnome-shell?

I would like to show the date in the bar up the top there (next to the time). I can not see any obvious way to enable this.
wim
  • 13,088
68
votes
7 answers

How to change ubuntu's server date and time via command line?

The Ubuntu server's current date and time is different from the time zone date and time. I have tried using: sudo date "30 Sep 2015 4:43:42" to change it but it did not change the date and time, just printed on terminal the date and time I changed,…
44
votes
3 answers

How to stop automatic time update via terminal?

This question shows how to stop automatic time update (and switch to manual): How to stop automatic time update? I want to do this exact thing but I can only ssh onto my machine so I need to make this change through the terminal. Is there any way to…
30
votes
7 answers

Script or function to return how many days from now until a given date

I would like to write a script or function to tell me how many days from now until a given date in the future. What I'm struggling to work out is how to process the given date and compare it with the current date... I'm imagining something like read…
Zanna
  • 72,312
29
votes
3 answers

Why can't I change system time to less than 1970?

I wanted to check how a certain software reacts when I change my computer's date. But I could not change the system time to anything less than 1970. Why is that?
Aven Desta
  • 532
  • 5
  • 15
29
votes
3 answers

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 the actual weekday and time of the day. I would…
strader
  • 413
28
votes
2 answers

How to change the date format?

Presently the date is showing as mmm dd hh:mm:ss. Is there any way that I can change it to as per my liking. For example : dd mmm, hh:mm:ss.
Arindom
  • 8,512
26
votes
0 answers

Ubuntu 18.04 how to show date in top bar

In my top bar, only the time is shown. How can I also see the date there?
Jonny
  • 1,169
24
votes
2 answers

Where does ntpdate get its settings from and what is the "no servers can be used" error about?

When I run ntpdate on its own, I get the following output: 8 Jun 15:47:46 ntpdate[31251]: no servers can be used, exiting If I run it with the -q ntp.ubuntu.com switch, it seems to query just fine. I have been hunting through many files and the…
wilhil
  • 1,795
21
votes
1 answer

How to add n hours to a specified time?

I'd like to have a time, say 6:45am, and add an amount of hours, say 1.45 hours, to result in another time. So I'd like to add 1.45 hours to 6:45am to get another time. Is there a command line utile for that? I've done some Googling, and read the…
Bulrush
  • 802
20
votes
3 answers

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")?
sds
  • 2,643
1
2 3
20 21