I'm using a file modified date as a base for file names in via C#. My question is what can make the modified date to change? I actually thought the modified date was the created date first. But the created date is changing when I move the file from USB to harddrive. So I had to use the modified date which has the correct, untoched date.
As I thought when the file was moved the modified date was changed but its actually the created date that is changed in Windows 7 at least.
Is there any use case that may change the date of the file (except unpacking it from a zipped file) surprisingly? Like maybe from DVD to harddrive or something like that?
Best regards Mr Rob
For more information see KB299648 .
我相信当文件内容改变时修改日期会改变。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.