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

-1
votes
0answers
18 views

How can i convinve my Ubuntu 14.04 that my laptop's motherboard is in the same location as my laptop?

I really want to know where the system saves the clock (date) time in the hard-drive and if possible i'd like to edit it manually. can i? The problem is that Ubuntu always assume that my motherboard ...
0
votes
2answers
17 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
4answers
275 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
35 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
42 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
74 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
49 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 ...
2
votes
0answers
66 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
216 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
32 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
222 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
408 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
24 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?
2
votes
2answers
365 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 ...
0
votes
0answers
23 views

Daylight savings time glitch since 2007?

I've taken it upon myself since the dates we apply and remove daylight savings time has been changed thanks to good old A'merica, and noticed today what I notice every year: The time changes twice. ...
2
votes
0answers
83 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 ...
0
votes
0answers
23 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
49 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
45 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
55 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
70 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
288 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
62 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
50 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
603 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
277 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
51 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
54 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
79 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
1k 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 ?
1
vote
1answer
462 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
1k 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.
7
votes
3answers
34k 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
150 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 ...
4
votes
2answers
1k 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
237 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
173 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
2answers
300 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
3k 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
58 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 ...
1
vote
1answer
170 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
106 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
10k 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
220 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
1answer
268 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
1answer
267 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
1k 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
367 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
108 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 ...