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
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
15 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 ...
10
votes
1answer
484 views

How to show full date and time in Nautilus/Files 3.6+ list view?

The list view of Nautilus 3.6 shows the dates files were modified in a variety of ways: the hour and minute if modified on the current day, and the month and day if modified during the current year, ...
1
vote
1answer
39 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 ...
3
votes
1answer
81 views

Date command prints a strange format (adding +'s all over)

When I run the date command in the terminal I get a very strange result, I get plus characters all over the results, see below. Can anyone help me to understand why this is happening? $ apt-get ...
3
votes
1answer
34 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 ...
4
votes
1answer
2k 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 ...
2
votes
1answer
38 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 ...
0
votes
0answers
51 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
83 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 ...
2
votes
2answers
133 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
140 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
58 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
211 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 ...
4
votes
3answers
1k 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 ...
5
votes
2answers
2k 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
126 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?
0
votes
0answers
73 views

Manipulate strftime like date [closed]

In vim, strftime("%F") will generate current time in the specified format. Is there any way I can specify, say, same time tomorrow in strftime? I tried strftime("%F", "date -d 'tomorrow'"). But that ...
1
vote
0answers
101 views

After installing 12.04 how to re-install my mouse, Graphic card ATI/AMD not-okay

After installing 12.04 an few things are not working well my Logitech mouse doesn't work well (read below) My ATI graphic card don't work well (read below) I haven't a Dash/shoppingbag-icon (above ...
1
vote
3answers
857 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
206 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 ...
0
votes
0answers
17 views

How do I add a GtkCalendar widget to an application indicator via Python?

I wanted to create a more capable date-time application indicator via Python for the Unity-Desktop and therefore wanted to add a GtkCalender widget, but only found sources regarding regular menu ...
1
vote
0answers
208 views

How do I change to ISO 8601 date format?

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
377 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 ...
1
vote
2answers
1k 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 ...
0
votes
0answers
17 views

Custom Locale Settings [duplicate]

Possible Duplicate: How can I change the en_AU locale to 12 hour format? How can locale settings be changed within Ubuntu, en_AU is set to 24 hour time, despite 12 hour time being common in ...
8
votes
2answers
6k 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
107 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 ...
0
votes
1answer
37 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
348 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
1k 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 ...
0
votes
1answer
44 views

Changing the time, what files get edited?

What Unix files are associated with the system time/date? If I (or an installation process) changed the system time, what files would actually get accessed and modified? I think the only thing I ...
10
votes
4answers
3k views

Why is Ubuntu's clock getting slower or faster?

Ubuntu's clock is off by about a half hour: Where do I even start troubleshooting this? It's allegedly being set "automatically from the Internet". How can I verify that "the Internet" knows what ...
1
vote
1answer
386 views

Inconsistency between date-time in terminal and clock

I can't figure out why I have 5 hours difference between GUI clock and date command in terminal. My bios clock is set to GMT... Any ideas ? franck@franck-ThinkPad-T61:~$ date mercredi 11 avril 2012, ...
2
votes
1answer
211 views

How do I use strftime to customize the default date-time format?

The date on my computer currently displays as "Fri Feb 24" and the System Settings give no options for changing the date format. I need the date to display as "Fri 24 Feb" followed by 24-hour-time. ...
1
vote
1answer
123 views

How can I get information about a folder?

Someone copied a folder contains many video files to my laptop . I'd like to know when he copied them and some other information like this . I think accessed date and modified date are not always ...
7
votes
4answers
3k views

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.
1
vote
0answers
256 views

How to show the time and the date on the locked screen of GDM? [closed]

How do I get a clock on the locked screen of GDM? Using 11.10 (I have a bug in LightDM). When the screen is locked, it shows my wallpaper and the dialogue for the password. I would like to see the ...
0
votes
1answer
1k views

Using curl with filename containing a dynamic date

I'm trying to upload dynamically created log file from my local box to my FTP server. This all happens in a cron job (crontab) I run every night. It creates the file using: 30 00 * * * touch ...
2
votes
3answers
3k views

Get todays date and use it in filename

Using the command-line, I want to create a log file with today's date in the name (for example, today is 05/17/2011, so the filename would have to be log051711). I know how to create the file (touch ...
2
votes
3answers
459 views

Automatically insert date into filename

Is there a simple way (maybe a script), to automatically insert the current date into the filename of a newly created document either in nautilus or in Libreoffice? A function like that would be ...
6
votes
3answers
14k views

Unable to sync time using `ntpdate`, error: “no server suitable for synchronization found”

My ntp.conf file: user@pc[0][07:37:40]:/etc$ cat /etc/ntp.conf idriftfile /var/lib/ntp/ntp.drift server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server pool.ntp.org Command ...
1
vote
1answer
193 views

Display number of hours since a specific time in bash

I have a command that outputs a single date in whatever format I please. Now I need a simple way of calculating (with bash) how many hours have passed since that date (default is yyyy-mm-dd hh:mm). ...
5
votes
1answer
7k views

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

Change timezone in 10.04/11.04 without user input

How can one change the time-zone in Ubuntu 10.04 or 11.04 server from the command line without user input (e.g. tzconfig EST). While one would use dpkg-reconfigure tzdata, per the related question ...
1
vote
1answer
459 views

Show Time drift relative to a time Server

I want to monitor the time drift on my workstation. How can I compare my local time to a timeserver like pool.ntp.org and show the difference?
0
votes
1answer
735 views

How do I set the system date/time format from the command line?

Apparent I should set LC_TIME to en_DK (why danish? I don't want danish months!) but nothing I've done manages to change the output of locale.
1
vote
1answer
403 views

Initialise a variable with a specific date in a specific format

I want to initialise a variable with yesterday's date in a specific format . ex---if today is 15 Feb, then variable should be-- var=Feb 14 date -d"-1day" +"%b %d" is not working. I don't know whether ...