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.

learn more… | top users | synonyms

0
votes
0answers
11 views

Is the difference between the system time of the Rumtime normal?

I have to questions regarding the System Clock. (# date) It is it normal hours during the Runtime System is getting faster or slower? I know it can be synchronized with the network time through the ...
0
votes
1answer
18 views

Configure date to UTC format

There are a few answers to this that help with the gnome taskbar date-time display, and one answer that gives me exactly what I want, namely, date +%Y-%m-%dT%T which I've incorporated into .bashrc ...
0
votes
1answer
23 views

Arabic numbers/dates showing in various places

I've just installed Ubuntu 14.04 LTS. I live in the Middle East, and so I set my country location (in the ME) and set my language to English (UK). Although I'm now getting Arabic numbers and dates ...
0
votes
0answers
24 views

Getting installation date and version of the OS

Is there a command to check when the Ubuntu OS on a computer was installed? I mean the time when a fresh version of the OS is installed (e.g. from a DVD) for the first time, I do not mean any system ...
0
votes
1answer
59 views

How to change Date & Time format with Lubuntu

I'm working with Lubuntu. The system information says: Release: Ubuntu 15.04 (Vivid) GNOME: 3.14.1 Kernel: 3.19.0-23-generic My problem is about I've been reading all the questions about this issue ...
7
votes
5answers
546 views

how can I take total minutes from time?

My system displayed the time like this 10:42 when i input the command date +%R. I need to take in total minutes of the time. That means like this 642 minutes. Is there any command or shell script for ...
0
votes
1answer
70 views

How can I change the date format in the Lubuntu login screen?

I'd like to set a different format for the long date string I get at the top of the login screen in Lubuntu (15.04). How do I do that?
0
votes
0answers
32 views

Folder date modified in Files shows date of folder creation not content modification

So when sorting by date modified in Files, the date the folder picks up is the date that the folder was first created, but if a file is modified in the folder the date doesn't change. Anyway to ...
2
votes
0answers
26 views

Lost the Shutdown/restart menu upper right 14.04

This is a recent Trusty load, not sure how lost it but it's consistently gone. Would very much like it back. tnx rich
0
votes
0answers
21 views

Loop not getting exicuted for a particular date

I has a file with dates of the formats "2015-04-10" and "Apr 20". so i wrote this piece of shell script to extract the lines matching a date and store it in a separate file. the date is given in ...
1
vote
0answers
30 views

Change the time format for good on ubuntu server

I've noticed the date is misaligned, namely I got month day, hours and year, all mixed up - obviously I'm having the problem with the inverted date going as month-day-year. The ls command formats ...
2
votes
0answers
36 views

Wrong date is shown [duplicate]

On my ubuntu phone the date is not shown correct, it always shows the yesterday's date,I have to restart the device and then it works and my settings are on automatically, why this ?
2
votes
1answer
65 views

Panel clock applet does not show correct time and date

The Panel clock applet in Ubuntu 14.10 suddenly stopped showing the correct time and date! I tried restarting, but it does not work.
1
vote
1answer
51 views

English Language with Euro as Currency

I want to use English as my system language but don't want to use the US American date format because it sucks. So I use English UK which comes with pound sterling as currency and a slightly less ...
2
votes
0answers
26 views

Is it possible to put an automatic time stamp on new files created from templates?

I use Python a lot so I have created a template which has all my usual imports to save me typing them out. So far so good. I was wondering now if there is a way to put something in the template that ...
1
vote
1answer
184 views

No Date and Time

When starting up my machine (Ubuntu 14.10) just now I have noticed that the bit in the top bar which tells me the date and time is gone, and I am unable for some strange reason to change the Date ...
0
votes
1answer
93 views

Ubuntu Dubai Date & Time Settings [duplicate]

I am on Ubuntu 14.04 and I reside in Dubai and thus I set up my date and time settings accordingly. However, I do not speak Arabic but Ubuntu insists on displaying the date in Arabic. Other ...
2
votes
0answers
23 views

Calender/Time not showing up in Ubuntu [duplicate]

I recently noticed that the date/time disappared from my desktop. Until now I could see them both in the top-right corner of my system and clicking on it would show up the calender, but now it ...
0
votes
0answers
197 views

Ubuntu server timezone showing incorrect time for my timezone

Working on finally fixing some issues with one of my servers, noticed the time was off by a bit. Ran 'sudo dpkg-reconfigure tzdata' and selected my timezone. The problem is that it does not match ...
6
votes
1answer
260 views

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 ...
0
votes
1answer
34 views

Is there any way to be notified about system events in Ubuntu?

I want to write an application indicator for Unity to show a single number and a tooltip. I want to update this number when the date changes i.e. on 24:00 and I need to update it if computer wakes up ...
0
votes
3answers
123 views

setting date format in menubar on top of desktop

How do I change format? When I open "time & date settings" I find very limited possibilities. So is there any file which sets my date format in clock shown on top of screen? The only thing I need ...
2
votes
1answer
1k views

How can one remove all packages installed after a certain date/time?

On the ninth of November I tried installing the last stable release of BasKet Note Pads which apparently is not supported off the bat because it needs to be ported to QT4 and KDE 4, whatever that ...
1
vote
1answer
62 views

Convert DATETIME in millisecond

I have the Date Time format YYYY-MM-DDThh:mm:ss.sTZD like 2014-11-03T18:54:40.533+05:33333 i have to convert it into milliseconds. i use date -d "$time" +%s0000 but getting error invalid date.
-1
votes
2answers
83 views

Shell Script to check for subdirectory [closed]

A. I used the following code to get the modified date of a file. But this is also selecting the subdirectories and thus returning an error. How can I fix this? for file in $1/*; do echo `stat ...
1
vote
0answers
81 views

How can I change the date of 12h to 24h?

How can I change the date of 12h to 24h of my ubuntu server 14.04.1 LTS? My current locale: $ cat /etc/default/locale LANG="en_GB.UTF-8" LANGUAGE="en_GB:en" Using $ sudo date nnddhhmmyyyy.ss?
0
votes
0answers
145 views

System time keeps changing to some random wrong time

Iam running Ubuntu 14.04. Off lately the system time keeps changing on its own to either a couples of days ahead or behind. I tried checking and most of the people having this issue seems to be ...
0
votes
2answers
43 views

echo statements with commands

I want to create a echo statement in a Bash script that will say "Today is (current date and time)". so far I've tried: today=date echo Today is $today but no luck
0
votes
5answers
5k views

“Date and Time Settings” GUI in Ubuntu 14.04 is not working?

I have been trying to access the Date and Time setting in my Ubuntu 14.04 to modify the time (which is wrong). I click in the hour in the top-right corner of the top bar, and then in "Date & Time ...
1
vote
2answers
89 views

Change the language of date display

I recently installed 14.04, and my date/time display is unnecessarily localized. Upon installation, I chose Colombo as my location: Now the date/time is displayed in localized form (Sinhala ...
1
vote
1answer
127 views

How set the correct hour in Ubuntu Server?

I have an incorrect time in my Ubuntu server, I'm using Ubuntu Server 14.04 When I run date command this is the result: lun 8 set 2014, 08.28.03, CEST The correct hour is 10.40.
0
votes
2answers
198 views

How often is the time/date updated automatically?

I am running Ubuntu 14.04 32-bit in a VMWare VM. I suspended the VM for a weak and then resumed it. I noticed that the time/date was incorrect, likely due to the fact that it was still set to the time ...
-2
votes
1answer
172 views

Change time format in log file

I have squid log file in follow format: 31/Jul/2014:13:44:52 +0400.701 0 172.16.204.59 TCP_DENIED/407 5232 GET http://vec01.maps.yandex.net/tiles? - NONE/- text/html but log analyzer need time ...
3
votes
1answer
233 views

In Xubuntu 14.04.1, Customizing Date & Time Display

In Xubuntu 14.04.1, how do you enlarge the font size of the date and time in the top right panel area?
2
votes
1answer
1k views

How to change the date/time format to English, while preserving my own country's regional settings?

I've been using English as my system language, but Greek for regional formats. The thing is I want the date and time to appear in English too, while preserving the rest of my settings in the regional ...
2
votes
1answer
149 views

How to check a folder timestamp?

How to get file information inherent to time: such as last modification time, recent access time and so on. Also I would like to know if it is possible to check all the modification dates of a file ...
0
votes
2answers
535 views

How to change date and time format from Arabic to English

Hi I am using Kubuntu and my language system is english but when I am using date command the output result is arabic format like this جمعه ۱۸ ژوئیه ۱۴، ساعت ۰۲:۳۴:۵۸ (IRDT) what should I do to ...
0
votes
1answer
720 views

Adjust Time & Date settings via teminal [duplicate]

How do I adjust the Time & Date manually via terminal (CLI) on Ubuntu 14.04?
1
vote
1answer
29 views

How do I make an alias that shows only the date?

Exactly as it says. What code should I use to make an alias to show me only the date, and not the time also?
3
votes
2answers
619 views

Convert seconds since epoch to a human readable string

Command date +%s produces 1403568422. Is there an easy way to convert the 1403568422 to a human readable UTC timestamp? python -c "import datetime;print ...
2
votes
0answers
273 views

how to change calender to persian calender like in kde?

If we set the language support and location in KDE for a special country like my country Iran, it change the calender and date time format for that country usage. Now i need to do so in my Ubuntu ...
1
vote
0answers
32 views

Ubuntu 12.04 Date incorrect on boot

I succumbed and did the update thing to 12.04 on a desktop. I have just about beaten it into submission but have one puzzle still to solve. I have done much searching on the 'net but seems no one ...
0
votes
1answer
77 views

Standard user can change the Date and Time

I am using Ubuntu 12.04 LTS edition. And now I want that I give full right to my Standard user to change the Time and Date accordingly. In my system After shutting down the system for a 4-5 hrs reset ...
2
votes
1answer
68 views

Manual time syncing

Is there a command or some option in KDE environment with which I can manually sync system's time and date with a time server (eg Public Time Server (pool.ntp.org))?
2
votes
1answer
64 views

clock dissapeared from menu

As you can see from the screenshot, I am missing date and time from top menu. Is it stupid april fools joke or...? I am clueless how to put it back. Any help would be appreciated. EDIT Tried the ...
0
votes
2answers
103 views

Time and Date Not Available [duplicate]

My time and date not on the menu bar and the clock is not in the system settings. I ran sudo apt-get install indicator-datetime and received this error: Package indicator-datetime is not available, ...
1
vote
2answers
645 views

Change “date” Command To 12 Hour Time Instead Of 24

When I type "date" in gnome-terminal, or xterm it reads out in 24 hour time, is there any way to make it use 12 hour. According to "date --help" using "%r" should do the trick, but there are no ...
1
vote
1answer
282 views

Handling leap seconds with date

I am running clockspeed-0.62 (DJB software) on Ubuntu 13.10. I have setup timezones so that /usr/share/zoneinfo is a link to /usr/share/right, and my /etc/leapsecs.dat is up-to-date, i.e contains 25 ...
1
vote
3answers
69 views

Time and Date not showing and the options are faded

I like being able to see the date and time in the upper-right hand portion of my screen. Recently, my time and date have disappeared. I tried adjusting Time and Date through System Settings. I noticed ...
3
votes
2answers
3k views

Add seconds to a given date in bash

I have a complete date plus hours and minutes. I would like to add a number of seconds and display the result as a date "day.month.year hour:minute". "date" doesn't seem to be able to add seconds to ...