Is there a way to get the file manager Files (Nautilus?) and other applications under Ubuntu to display the date and time in standard ISO 8601 format, instead of the &quot;comfortable&quot; style, like &quot;Yesterday 09:39&quot;. I haven't been able to find an option anywhere to display date/time in ISO 8601 format in Files.  For example, right-clicking on the &quot;Modified (date)&quot; field in Files produces nothing useful in this regard, and trying Ubuntu Settings -&gt; Date&amp;Time gives me no choice at all for the date format. Added -- And there is now nothing in Nautilus Permissions that allows a change of date format. Shouldn't ISO 8601 be the standard for all applications under Ubuntu, and those users who don't want it should have to set their own option, somewhere? Using Ubuntu 20.04.1 LTS.
111888
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, and the year tacked on if modified during a previous year. I would like to see the entire date and time consistently on all the files (e.g.: Sat 20 Apr 2012 01:28:34 PM EDT).  I had this set up before, but I can't figure out how to do so with version 3.6. I did find this question, but the answers no longer apply to Nautilus 3.6:   How can I do so in Nautilus 3.6+?
49877
I'm trying to use the date command to generate a file timestamp that the date command itself can interpret.  However, the date command does not seem to like its own output, and I am not sure how to work around this.  Case in point:  sh-4.2$ date Fri Jan  3 14:22:19 PST 2014 sh-4.2$ date +%Y%m%dT%H%M 20140103T1422 sh-4.2$ date -d "20140103T1422" Thu Jan  2 23:22:00 PST 2014   date appears to be interpreting the string with an offset of 15 hours.  Are there any known workarounds for this?  Edit: this is not an issue of display:  sh-4.2$ date +%s 1388791096 sh-4.2$ date +%Y%m%dT%H%M 20140103T1518 sh-4.2$ date -d 20140103T1518 +%s 1388737080 sh-4.2$ python Python 3.3.3 (default, Nov 26 2013, 13:33:18)  [GCC 4.8.2] on linux Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; 1388737080 - 1388791096 -54016 &gt;&gt;&gt; 54016/3600 15.004444444444445 &gt;&gt;&gt;    It's still off by 15 hours when displayed as a unix timestamp.    EDIT #1  Maybe I should pose this question a little differently.  Say I have a list of ISO8601 basic timestamps of the form:   YYYYMMDDThhmm YYYYMMDDThhmmss   What is the simplest way to convert them to the corresponding Unix timestamps?   For example:  - 20140103T1422   = 1388787720 - 20140103T142233 = 1388787753
51244
I'm looking for an easy-to-read way to format time and date. The time and date will be displayed in a piece of software, and will be used to tell when an event occurred. For example,      "A temperature spike occurred at [t&amp;d]".    Shorter versions of the time and date will be displayed where appropriate. They will use the format YYYY/MM/DD HH:MM:SS UTC±HH:MM.  Given the software user might be in a different timezone, I feel that using natural language (and saying an event occurred 'Yesterday' or 'Last week') is not ideal. I would like to know what other formats of time and date are standard. Currently I hypothesize that the two formats will be:    "Commonwealth" format: DAY, DD MON YYYY at HH:MM:SS (UTC±HH:MM) eg.      Tue, 30th July 2013 at 15:42 (UTC+13)  US format: DAY, MON DD YYYY at HH:MM:SS (UTC±HH:MM) eg.      Tue, July 30th 2013 at 15:42 (UTC+13)    DAY is a 3-letter abbreviation for the day  MON is a 3-letter abbreviation for the month unless the month has 4 letters in which case, just use that  The year is optional and will default to the current year if not specified    Are my date formats correct and good natural language? Or are there better ones?  Thanks in advance!
51908
I would like to set Thunar as my default file manager in 15.04. Now, I realize that this question is very similar to , but I have tried , why I even tried rebooting after I completed his suggestion but still Nautilus is used as my default File Manager. I even tried the , Midnight Commander and Manual solutions recommended on the Community Help Wiki. Not one changed Thunar to my default file manager.   I was curious as to whether exo could change my default file manager at all, say to dolphin (as I also saw  and ) but that also failed. Something tells me that this issue affects not just me but other users too, specifically 15.04 users, as Ubuntuuser reported in the comments that he could not set dolphin as his default file manager via exo either.   If you would like to know how I am checking whether these file managers are set to default, well I open folders on my desktop by double-clicking them to see whether they're opened in these alternative file managers or not and as a second test I also try to save files in Chrome to see whether the file manager window that pops up is the one I want.   If relevant I am running Unity as my Desktop Environment.
15294
I have installed Ubuntu 13.04 and set my local time/date and its working, the only thing that's bugging me is that I cannot change it to English. I would like to do this because it is hard to read and it is not showing it in the proper format in the Terminal, please refer to the screenshot below.    Show in the proper format    Not showing in proper format in terminal  How can I change my date/time to English format and keep the local time?
17082
I want to get the modification time of a file in a specific format. How can I do that ? I know about  stat -c %x find.txt   but I need this format:  yyyymmddhh24miss   I'm using ksh on Linux 2.6.18-406.el5 x86_64 if it matters.
117921
When I want to move a file to the Trash, Nautilus give me an message saying this:     You can't move example.file to the trash can. Do you want to remove it immediately?   I can give you this photo but it's in Spanish
44922
On my linux system if I display the current date "t1", touch a file "f" then display the modification time "t2" of that "f" I would expect t1 &lt; t2.  But that's not what I always get when I execute this on my system:  date +'%Y-%m-%d %H:%M:%S.%N'; \ touch f; \ stat -c %y f   Example output:  2017-09-18 21:47:48.855229801 2017-09-18 21:47:48.853831698 +0200   Notice the second timestamp (stat) is before the first one (date): 855229801 > 853831698  My fs is ext4, but I also tried with a file on tmpfs, same effect. Why is it the case?  Thanks    Some info about the setup  % which date /usr/bin/date  % which touch /usr/bin/touch  % pacman -Qo /usr/bin/date /usr/bin/touch /usr/bin/date is owned by coreutils 8.28-1 /usr/bin/touch is owned by coreutils 8.28-1  % uname -a Linux machine 4.12.12-1-ARCH #1 SMP PREEMPT Sun Sep 10 09:41:14 CEST 2017 x86_64 GNU/Linux  % findmnt TARGET                                SOURCE     FSTYPE    OPTIONS /                                     /dev/sda1  ext4      rw,relatime,data=ordered └─/tmp                                tmpfs      tmpfs     rw,nosuid,nodev
119154
#!/bin/bash ping -c 1 8.8.8.8 | awk '{print $7}' date   So for the code above, I want it to display the date and time in this format below  Tue May 5 11:11:11 UTC 2020  time=0.838 ms   So far it prints this output  data. time=1.24 packet Tue May  5 23:31:33 UTC 2020   I want time=1.24 next to the UTC 2020
40349
Using Ubuntu 16.04. I like Krusader, but can't figure out how it is possible to change date/time format for the Modified column. I truied to change system regional settings, but Krusader ignores them (while, e.g., Midnight Commander uses system settings). Switching application language (in Help menu) also does not affect the date/time format. I like the 24-hour format, not PM/AM, and I may prefer even to hide time, and leave only date. Is that possible in Krusader?  The other post is of no help, as there is no even such file in mys systems as ~/.kde/env/setlocale.sh
22820
Currently when I execute the date command from bash I get the following displayed  Thu May 17 12:21:00 IST 2012  Below is my timezone config based on executing dpkg-reconfigure tzdata     Current default time zone: 'Europe/Dublin'   Local time is now: Thu May 17 12:32:52 IST 2012.   Universal Time is now: Thu May 17 11:32:52 UTC 2012.     Any idea how I change from IST to UTC/GMT?
93491
Is there such command for changing the System clock's date and time?  For example:  The current date and time is January 1, 1970 22:30:59:980 where 59 and 980 refers to the seconds and millisecods respectively  And I want to change it to January 2, 1971 23:31:59:990  Is there a command for this?
7851
Anyone know a way to immediately show the seconds of a file's date modified property in the GUI? So if you create a file, any file in any directory, right-click and choose Properties, the date modified (if it's recent) will say something like "dd/mm/yyy hh:mm, one minute ago" - reminder this is in Windows 7. Windows XP did it normally. Then they changed something.  If you wait a while, eventually you'll see the seconds, I'm not sure how long a while is, but this is incredibly annoying if you want to troubleshoot something that relies on the seconds of timestamps... is there a setting? registry key I can change perhaps?  I'm literally using Chrome, pasting in the path of the directory to be able to see the seconds quickly (as a workaround) but would be nice to be able to use Win7.
14195
I would like to configure and change some shortcut keys of Nautilus (file manager of Ubuntu). Does anyone know where I could do that?  Edit1: Precisely, initial binding for "go to parent folder" in Nautilus is Tab + Up arrow, I would like to chang it to Ctrl + Up arrow because Tab + Up arrow has already been set to other things via Compiz.
89196
Just like you can see in the screenshot above, sometimes the clock &amp; date won't show up on boot. I have to log off to make it appear again.   Is that because I have a custom-time format in dconf editor ( %a, %d. %h  %H:%M ) ?
63910
I want to set a custom time in ubuntu 14.04   lets say : 8 OCT 2010 18:00:00  wrkstn@wrkstn-VirtualBox:~$ sudo date --set="8 OCT 2006 18:00:00" Sun Oct  8 18:00:00 PETST 2006 wrkstn@wrkstn-VirtualBox:~$ date Fri Sep  2 01:21:51 PETT 2016 wrkstn@wrkstn-VirtualBox:~$    But i am not able to set custom date with Date command. Please Tell me how can i accomplish this.
60964
I am running a Tomcat application, and I need to display some time values.  Unfortunately, the time is coming up an hour off.  I looked into it and discovered that my default TimeZone is being set to:  sun.util.calendar.ZoneInfo[id="GMT-08:00",                            offset=-28800000,                            dstSavings=0,                            useDaylight=false,                            transitions=0,                            lastRule=null]   Rather than the Pacific time zone.  This is further indicated when I try to print the default time zone's , and it comes up "GMT-08:00", which seems to indicate to me that it is not correctly set to the US Pacific time zone.  I am running on Ubuntu Hardy Heron, upgraded from Gutsy Gibbon.  Is there a configuration file I can update to tell the JRE to use Pacific with all the associated daylight savings time information?  The time on my machine shows correctly, so it doesn't seem to be an OS-wide misconfiguration.    Ok, here's an update. A coworker suggested I update JAVA_OPTS in my /etc/profile to include "-Duser.timezone=US/Pacific", which worked (I also saw CATALINA_OPTS, which I updated as well). Actually, I just exported the change into the variables rather than use the new /etc/profile (a reboot later will pick up the changes and I will be golden).  However, I still think there is a better solution... there should be a configuration for Java somewhere that says what timezone it is using, or how it is grabbing the timezone. If someone knows such a setting, that would be awesome, but for now this is a decent workaround.    I am using 1.5, and it is most definitely a DST problem.  As you can see, the time zone is set to not use daylight savings.  My belief is it is generically set to -8 offset rather than the specific Pacific timezone.  Since the generic -8 offset has no daylight savings info, it's of course not using it, but the question is, where do I tell Java to use Pacific time zone when it starts up?  I'm NOT looking for a programmatic solution, it should be a configuration solution.