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.

link|improve this question
1  
"Then they changed something." i sense another case of 'user anxiety' :) – Molly7244 Jan 4 '10 at 21:25
feedback

6 Answers

The reason you don't see seconds, is that it was a usability decision to remove them (99% of users don't care about the second a file was last modified).

To accomplish this, the shell team is calling GetTimeFormatEx, using the flag asking for it to remove seconds:

GetTimeFormatEx(..., TIME_NOSECONDS, ...);

which returns the Short time format::

alt text

with any seconds (ss)1 stripped out.

It doesn't solve your problem, but it does explain it.

1Even though the default en-US locale does not specify ss in the Short time format; TIME_NOSECONDS will remove any ss even if there was. Nor would i obey that command even if you were.

link|improve this answer
feedback

You can view the file creation/modification time quickly in PowerShell:

PS C:\Users\mskfisher> $file = C:\windows\notepad.exe
PS C:\Users\mskfisher> $file = Get-Item C:\windows\notepad.exe
PS C:\Users\mskfisher> $file.CreationTime

Monday, July 13, 2009 6:56:36 PM


PS C:\Users\mskfisher> $file.LastAccessTime

Monday, July 13, 2009 6:56:36 PM


PS C:\Users\mskfisher> $file.LastWriteTime

Monday, July 13, 2009 8:39:25 PM

Inspired by a TechNet blog post using PowerShell for some other crazy tricks.

link|improve this answer
feedback

According to Microsoft Answers:

Unfortunately we don’t know why this was removed; it’s on the developers’ side of things and out of our realm of “in-the-know”.

As you specified Chrome (and Firefox) will display seconds.

I just loaded XP pro in vmware, and saw the default for XP is sans seconds. Then I checked GNU ls on both Linux and Cygwin, no seconds displayed (by default). Granted you can do ls -l --time-style=full-iso to get the granularity you need. I guess I never really thought of needing that level of detail.

link|improve this answer
feedback

fileTweak is a program that adds a tab in Explorer properties. It is mainly used to change the date/time, but it will display seconds. Unfortunately it isn't free.

That said, I thought there was a free add-in that basically did the same thing.

link|improve this answer
feedback

I've been looking at the same problem and as far as I can tell, no there isn't a way.

However, I've been using a workaround that has satisified what I needed it for so hopefully it will help you. The following command, when run from a command line in the directory in question, will print out the file names and the modified date down to seconds:

forfiles /c "cmd /c echo @file @ftime"

I hope that might be of some use to people.

link|improve this answer
feedback

If you want a free Windows Explorer add on to display created, modified, access times with seconds, try this: stexbar. It adds a tab to a file's properties that allows changing the created, modified, access times and it displays the current times with seconds. http://www.addictivetips.com/windows-tips/change-file-date-timestamp-from-file-properties-in-windows/ and https://code.google.com/p/stexbar/ Thanks, jxf011

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.