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
1answer
14 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
28 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
40 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
47 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
55 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
32 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
2answers
41 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
95 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 ...
1
vote
2answers
201 views

How delete files - based on date in filename

I have some folder with files with the names as "example_YY_MM_DD-HH.zip" and I have 3 backups per day. I need this: 1) For backups older than 1 week I need only one per day (at midnight '00' at HH) ...
2
votes
1answer
38 views

A command for KDE short date format

By the command $date the time and date of the system (according to local place) is printed. Is there a command that outputs Kde's short date format in terminal? The date in KDE also depends on ...
0
votes
2answers
41 views

Having problem displaying date?

I want to display following line: Current date is: 2013/12/03 Current time is: 08:50 PM What I have done is: echo "Current date is:" date +%D echo "Current time is:" date +%R ...
1
vote
1answer
54 views

How do I display ISO time system wide?

I'm in United States and am trying out Ubuntu. Very frustrated because all the dates and times are in non-sensical United States format: Date = MM.DD.YY Time = 12 hour format I want ISO ...
1
vote
1answer
734 views

Date and time panel is greyed out, how do I restore it?

Date and time is showing in the login screen (unity-greeter) but not when I login to my session. When I go to date and time settings the panel is all grey : Any idea how to recover from this ?
0
votes
1answer
332 views

Dates set according to location not chosen language

I recently installed Ubuntu 13.10 chose my location as Thailand/Bangkok, keyboard layout and language as South African English. Everything seems to be set up correctly except wherever a date is ...
0
votes
4answers
759 views

Date format in UNIX

How can I show date in YYYY-MM-DDTHH:MM:SS+ZZZZ format in LINUX? I need to write the creation date of a file say file1 in another file say file2 in given format. Help me to achieve this.
4
votes
2answers
13k views

how can I change the date and time on ubuntu 12.04

when I go to change the date and time it doesn't work, and 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 ...
0
votes
1answer
101 views

Sorting Pictures by name-column “record date” with nautilus

i use Ubuntu 12.04 LTS a few days now and i like to shot photos :-). So far, i load all my pictures on my ubuntu system (approximatly 15000). But when i want to sort them in their folders by the ...
0
votes
0answers
101 views

update Israel time zone

When checking the date on my ubuntu I get this result: >> date Thu Sep 12 11:42:27 IST 2013 But the IST time is actually 12:42:27 There was an issue this year with the winter clock change, ...
4
votes
2answers
788 views

Ubuntu keeps resetting time to -3 hours

I have a dual boot system with Win 7 / Ubuntu 13.04. For some reason, Ubuntu resets the system time to -3 hours regardless of timezone settings. I thought that this was UTC problem, but the problem ...
2
votes
1answer
126 views

How to maintain a file's 'last modified' date ?

I'm copying files and folders over from one filesystem to another (both are ext3) via cp in the terminal. The 'date modified' on all of the files are being changed to the current time although I am ...
2
votes
1answer
133 views

Crontab not working with inner unix command

I have following crontab entry which does not work. Please can anybody help? @midnight scp /home/xxx/file.txt xxx@yyy:~/zzz/file.txt_`date +"%m-%d-%y"` This command works very well when run from ...
3
votes
1answer
184 views

How do I add missing cities for the other locations on the time & date clock?

I want to add 'Amsterdam' and 'San Francisco' to my "Time in other locations" setting on the clock, but those cities seem to be missing. What is wrong? How do I add them? I'm using Ubuntu 12.04 LTS. ...
2
votes
1answer
2k views

Time set through terminal resets after reboot

I set the the time using, e.g. sudo date --set="24 MAY 2013 18:00:00" sudo hwclock --systohc --utc This worked, but upon reboot the time was back to the old value. What am I doing wrong? I thought ...
2
votes
0answers
55 views

How to make Ubuntu show date AND time on Files screen? [duplicate]

Ubuntu 12.04 used to show date and time of files in directory in Files. With 13.04, only date is shown (for files created before the current date). How can I make date and time to show in Files on ...
0
votes
0answers
17 views

Restore documents and media Files [duplicate]

While I was installing Ubuntu 13.04 64bit, I did a mistake and I format the hard disk before that I divided my HD to 3 Partitions, C: for Win8/ D:for Documents and Media/ U: for Ubuntu 12.04 What I ...
0
votes
0answers
74 views

How to add year in date section on top panel from christian to buddhist year?

From tutorial in http://choorucode.com/2010/04/02/how-to-change-the-date-and-time-format-of-clock-in-panel-of-ubuntu/ According to strftime format, I have only %Y for full 4-digit year in Christian ...
1
vote
1answer
126 views

Bash: Calculate 7am of next day

I would like to calculate the time for 7am of the next day with the bash. (I want to use it to restart the computer with rtcwake) According to the man page of date I should use %s to get a unix ...
2
votes
1answer
81 views

How to run a cron entry periodically?

I have a line of script that works through terminal and works through cron to run one time: it downloads a file from the internet and saves it in a specific place named as the date it was found: cd ...
6
votes
1answer
8k views

Installing Roundcube Web Server, gave date and time error while checking PHP configuration

Installing Roundcube Web Server, gave date and time error while checking PHP configuration. I am trying to configure the webamil using roundcube. Below is the details. pop / smtp service is working ...
1
vote
1answer
151 views

Date format in file open menus in Ubuntu applications

Whenever I am opening a file in Ubuntu applications, be it LibreOffice or Document Viewer, the date format always appears in the mm/dd/yyyy format in the file open (and save) menus. Please see these ...
4
votes
0answers
239 views

Last access timestamp updated every 24 hours

The last access timestamp of my files is updated every 24 hours whenever I access an files. E.g. I type "ls" and if the last access timestamp of the file is older than 24 it is updated to the current ...
0
votes
0answers
80 views

Help concerning shell scripts with dates

I want to write a script only does the things it is supposed to do on a specific weekday BUT if I miss days it should do the commands of those days too. The original script only did the things for ...
0
votes
1answer
214 views

Timezone in “Date & Time” from gnome control center is frequently wrong

Currently on a system with ubuntu and awesome as the window manager. For some reason changing the timezone in gnome control center does not do a thing. Running date returns the right timezone (as ...
3
votes
2answers
861 views

For some reason I want to set the system date to earlier month but I am unable to set it

For some reason I want to set the system date to earlier month in my ubuntu 12.04 machine? But I am unable to set it. When I tried to change the system time to earlier month or year getting back to ...
1
vote
2answers
307 views

How can I only show week day and date in my gnome shell clock?

I had to reinstall Ubuntu 12.04 on my desktop pc after something went awry while trying to update to 12.10. Before reinstalling, my clock had the following format: Wed 13:21: And now, this is what ...
2
votes
0answers
98 views

Unable to add another time zone in clock

I am unable to add another time zone in the clock. Currently i am in India and also want to add Sydney in the clock but when i try to add locations from the Choose locations tab, it doesn't ...
2
votes
2answers
517 views

What is the package and background process for “network time”?

What is the background process of "network time" in gnome control center (gnome system settings)? Is there a package providing this feature? I've noticed that neither ntp nor openntpd are installed ...
8
votes
3answers
6k views

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 ...
8
votes
2answers
6k views

How can I set the date format to my country setting?

I am German, but I use only English software. Hence, I am also using English Ubuntu. It's not because I don't know how to install German Ubuntu. It's because I prefer to work with English software ...
2
votes
1answer
175 views

Hot key to type today's date?

Is there some way to set up a hot key that will type today's date into the current window as if I had typed it?
3
votes
3answers
2k views

Thunderbird date format?

I have ubuntu 10.04 running Thunderbird 14.0 How do I change the date format to international standard? (eg; 2012-07-26) My system date already shows this format.
1
vote
1answer
640 views

Print specific dates in a specific format

I would like to write a bash script that prints out the date in the following format: 20120205_16 (year)(month)(day)_(24 hour) so the command to do this for the current date is: date ...
2
votes
0answers
232 views

How do I change to ISO 8601 date format? [duplicate]

I want to use the ISO 8601 date format system wide with Ubuntu 12.04. What is the best way to accomplish this?
2
votes
1answer
608 views

GUI time is different than command line time

I have kind of an odd problem. The time in my Unity bar is right, but the time in bash is 2 hours ahead. $ date Wed Jun 20 15:31:55 CDT 2012 Unity bar: Wed Jun 20 13:31:55 Here are my etc ...
3
votes
2answers
2k views

How to change the date format in Nautilus list columns?

The date format of the date columns is really long "Tue 12 June 2012 17:12:34 PHT". I would prefer a shorter version, e.g. 12/06/2012 or 12/06/2012 17:12. I tried to change it in Settings/Language ...
12
votes
2answers
18k views

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

/usr/share/zoneinfo when does the system time actually change?

Please correct me if I am wrong here.... When I change my system clock this changes the file /usr/share/zoneinfo immediately, HOWEVER, the actual system time doesn't change until the next reboot ...
1
vote
1answer
40 views

What files get edited when the system time changes?

If the system time is changed on Linux, what files get edited? I know the timezone is kept in etc/timezone but is there anything if the timezone is not changed, but the time is?
0
votes
3answers
612 views

How can I change the en_AU locale to 12 hour format?

I've noticed that the en_AU locale is defaulting to 24 hour time, it should be 12 hour as this is most commonly used in Australia. How can this be adjusted?
0
votes
1answer
2k views

how to change default date output format in date command?

I used redhat as server and now i've just installed ubuntu server. the problem is the output date format in logs is diffrent from redhat. when i use date command it show wen may 30 20:00 2012 now i ...