7-Zip on Windows will save the Date Created and Date Accessed when compressing a .zip file, however it does not do this for its (referring to 7-Zip) native .7z format. Any Unix-based formats are ineligible. Are there any other formats out there that support these two fields?

  • .7z is not a Windows native format... – Austin T French Oct 8 '13 at 2:26
  • 2
    "however it [referring to the subject 7-Zip] does not do this for its [referring to 7-Zip again] native .7z format." I was referring to .7z being the native format of 7-Zip, like .rar is to WinRAR and .ace is to WinAce. – NobleUplift Oct 8 '13 at 5:20
  • It's really too bad to omit "unix-based" formats, because 7zip supports tar and (I believe) cpio creation and extraction. Oh well. – kronenpj Oct 26 '14 at 0:38
  • But if they're Unix-based they'll never save Date Created. – NobleUplift Oct 27 '14 at 14:04

You can also store Access-, Modification- and Creation-Date when using 7-zips ".7z" format. To do so just specify the following parameters when packing data:

  • 7-zip GUI: write "tc ta" into "Parameters:" textfield
  • 7-zip command line: specify "-mtc -mta -mtm" parameters

tc stands for creation time,
ta stands for access time and
tm stands for modification time

The modification time is stored by default.


Date Created, Modified and Accessed are not functions of file formats. Also, 7-Zip is not a Windows native application.

Regardless, these attributes are part of NTFS journaling.

You can add these attributes to Windows explorer easily for all folder / file types:

enter image description here

However, they are not always accurate or enabled.

On my machine, for example accessed journaling appears to be off. Right clicking and viewing properties of the a file, I see slightly different (and more accurate attributes)

enter image description here

I can also run a PowerShell command to get information

gci | LastAccessTime gives me:

enter image description here

It is just as accurate as the explorer view.

Instead, what needs to be done it ensure Windows has jorunaling enabled.

This can be enabled from an administrator command prompt with the command:

fsutil behavior set disablelastaccess 0 
  • I think you totally missed the point... – jjlin Oct 8 '13 at 3:10
  • Doesn't answer the question. Most archive formats support Date Modified, but only one supports Date Created and Date Accessed (.zip by 7-Zip). OS X has a "Date Last Opened", which may be comparable to Date Accessed. – NobleUplift Oct 8 '13 at 3:32
  • @jjlin how so? His question was misguided as time stamps are not a part of a format, they are a part of the File System. I directed him towards information on what is actually going on... Although I am running 3 hours of sleep in about 48 hours. – Austin T French Oct 8 '13 at 3:46
  • @NobleUplift .zip is not given any special level of access. In my screen shot, that .zip was created with Windows Zip, the .7z is 7zip. Both have the attributes. And neither has to do with the file / archive format. It is dependent on the file system. NTFS, HFS+, Ext3 and Ext4 (Probably Ext2) also support journaling. – Austin T French Oct 8 '13 at 4:35
  • No lol; I meant the files archived by Windows and 7-Zip, not the archives themselves. This is what I meant. – NobleUplift Oct 8 '13 at 5:13

RAR supports storage of modification, creation, and last access times. There's no (legal) free version of the compressor, though.

  • Oh... that archive format. While we're on terrible proprietary formats, how about .ace? – NobleUplift Oct 8 '13 at 5:18

Then I suppose you're stuck with "ZIP" and "CAB" on Windows without external applications that aren't native. There's always "ARC" if that's still around.

  • Windows has a native .cab archiving utility? – NobleUplift Oct 27 '14 at 14:17
  • Ah, good point. I didn't research it before responding. – kronenpj Oct 27 '14 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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