I'd like to create a file with an invalid created/modified/accessed timestamp. To be invalid it should be a date and time before 12:00 midnight January 1, 1601 C.E. UTC
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
Look for a tool called Timestomp
|
||||
|
|
|
This is not possible. File time is used in Windows API through the FILETIME Structure, described as:
As negative values are not supported, the above date is the starting limit. Conclusion: Your code which tests for earlier dates will never be challenged. |
|||||
|