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 native .7z format. Any Unix-based formats are ineligible. Are there any other formats out there that support these two fields?
RAR supports storage of modification, creation, and last access times. There's no (legal) free version of the compressor, though.
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:
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)
I can also run a PowerShell command to get information
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: