12Ghosts.com | Download | Order | Support 

12Ghosts FileDate

12Ghosts - FileDate


What does it do for me?

Set the date and time created, modified, and last accessed of single files or all files in a folder. The graphical interface displays and lets you change the dates and times with an easy-to-use date-time control.


Disguise when you worked on a file, or make your work look great by setting a meaningful date and time.

What's really nice is that you can save (and restore) the file and date info of several files into a script file. So you can restore the exact same file and date info later.

The tool is straight-forward to use on individual files, and supports command line parameters for automation.


Change time stamps to:


Where should I start?

Enter the path of a file or folder at the top of the 12-FileDate dialog box, or select it with the two file/folder buttons. For folders you may include subfolders by checking that option below the path.

With the special date-time control you can enter a date and time quickly, up to the millisecond (see questions below for limitations). Move the cursor within one field with the keys LEFT and RIGHT. Press UP and DOWN to change the value quickly. With TAB you get to the next time field, with SHIFT+TAB to the previous field.

Set the time created, last modified, or last accessed with the button Set right of each field, or all three times with the button Set All. This also sets the attributes below which may be usefull since Windows doesn't allow to set all of these attributes in the Properties window, or if you replace the Properties command with FileDate using 12-ShellX.

To work faster, use the arrow buttons to copy the date/time to the field below. You may also copy the date/time with Ctrl+C, or paste it with Ctrl+V.


Create Batch File to restore Dates

For after restoring a range of files you can restore the date info to exactly as it was before. - Or imagine you are changing several files within a folder, but want to keep example the file dates untouched so that nobody knows you worked on the files. One click and the dates are restored!

Click on the button Create and select where to save the batch file. This batch file contains commands to restore all times for the selected files.

(Note: if you hold CTRL when you click on "Create" the current path is used, otherwise the last used path.)


Frequently Asked Questions

When I change a file time to 1:00:01 it changes it to 1:00:02. Why?

The FAT file system has a pretty long history. When it was introduced in the early 80's, disk space was limited. They found a way to encode the date and time into only 16 bits to save space. For this to accomplish, however, they had to limit the granulation to two seconds. In other words, you can not set the file time to uneven seconds.

FAT32 on Windows 95 introduced some enhancements. It introduced two more file times, Created and Last Accessed. Created has a resolution down to 1/100 of a second. Last Accessed, on the other hand, can only be set to a certain date, no time. The time Last Modified still has the two-second limitation.

Only NTFS supported by Windows NT/2000/XP allows 1/100 seconds in all three times.

When I right-click a file to see the Accessed date, it is always "today"!?

Yes, the Accessed date is set to today by Explorer when you right-click on it (when you select Properties, too). If, however, you select the file directly in 12-FileDate the Accessed date is not changed.


Command Line Options

The easiest way to create command line options is to select the file or folder you want to manipulate and press "Create". Open the batch file with a text editor to change the times accordingly.

You may also specify the path and the date and time on the command line of a shortcut or a new batch file. Please find the supported parameters in the following list.

The syntax is yyyy/MM/dd_HH:mm'ss.mss. Note, the date and time needs to include leading zeros, for example, specify "08" for August, not just "8", and so on. 12-FileDate uses the 24-hour format, that is, 18.00 instead of 6:00 pm. You may add /subfolders to include all subfolders of the specified folder. Add /silent to prevent a confirmation message, or /noerrors to suppress all messages.

For example:

12filedate.exe "C:\My Documents\important.doc" /time:2008/08/05_12:45:00 /subfolders /silent

/time: yyyy/MM/dd_HH:mm'ss.mss  Date and time created, modified, and last accessed. All fields must exist, use "08" instead of "8" for August, and "2008" instead of just "08". HH is always 24-hour format, use 18:00 for 6:00 pm, etc.
/created: Date and time created.
/modified: Date and time last modified.
/accessed:        Date and time last accessed.
/CreToMod Copy time created to time modified
/ModToCre Copy time modified to time created
/now   Sets all times to now. (Tip: Add 12filedate.exe /now "%1" to 12-ShellX)
/subfolders        Include subfolders
/silent No confirmation message
/noerrors No error messages even if no times are changed


12Ghosts Power Tools

© 1993-2014 12Ghosts Inc. All rights reserved.