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.
Questions tagged [date]
297 questions
29
votes
3 answers
Why can't I change system time to less than 1970?
I wanted to check how a certain software reacts when I change my computer's date. But I could not change the system time to anything less than 1970. Why is that?

Aven Desta
- 512
21
votes
1 answer
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 for that? I've done some Googling, and read the…

Bulrush
- 772
7
votes
4 answers
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 persists regardless of what is set in…

krax
- 124
- 1
- 10
6
votes
1 answer
change date for execution of one program?
I really like the Nero Burning ROM program and was happy to see they had a Linux version. I downloaded and installed it and when it started it said I had a "trial date" until April 29th. Fine. I went to the Nero web site to buy a license only to…

LarryM
- 540
6
votes
4 answers
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
2 answers
Date off by years - Cannot set date
Update: Please find a little how to solve it at the end of the question!
=========================================================
I cannot set date to the correct time:
root# date
Mi 16. Sep 19:24:42 CEST 2020
root# date --set="2016-07-01…

musbach
- 1,445
4
votes
1 answer
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 not modifying the folder or the files. I'd like for…

Will
- 706
- 7
- 14
3
votes
2 answers
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

Justin
- 2,121
3
votes
2 answers
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.

Teo
- 380
3
votes
1 answer
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 format to display system-wide:
Date = YYYY.MM.DD
Time = 24…

Zoe
- 31
3
votes
0 answers
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?

mooto85
- 31
2
votes
1 answer
Why were the file date formats changed?
I just updated Ubuntu, expecting not to notice any major changes and when I tried to open a file I noticed that the dates were in a new format. I'm American and I specified I wanted American English when I installed Ubuntu, why would somebody…

RobinReborn
- 121
2
votes
2 answers
How to manipulate date keeping the same time via command line
I am in a need of manipulating the system time for few minutes.
Say I need to keep the time as it is and change the date to next date.
After few minutes.. I need to go back to the normal time with out giving any manual inputs.
How is this possible…

PRATAP
- 22,460
1
vote
1 answer
Xubuntu 16.04 always boot with date of Feb 11 2016
I have been using Xubuntu 14.04 (32 bit) on an HP Microserver for two years and decide to add the 64-bit version of Xubuntu 16.04. It seemed to install successfully and indeed runs without any issue except that when it first booted, despite the…

graham
- 43
1
vote
1 answer
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 images,
From the consistency among applications,…

Masroor
- 3,143