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
2answers
12 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 ...
1
vote
1answer
36 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
19 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.
-2
votes
2answers
52 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 van I fix this. for file in $1/*; do echo `stat ...
1
vote
0answers
34 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
78 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
20 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
535 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
44 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
51 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
91 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
70 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
108 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
381 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
38 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
271 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
441 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
385 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
24 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
94 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
25 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
54 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
47 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
60 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
76 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
356 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
68 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
54 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
861 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
300 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
55 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
55 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
85 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
477 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.
9
votes
3answers
40k 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
158 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
266 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
190 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
327 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
188 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
116 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
241 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 ...