Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to remove the time stamp of a folder in c#?
Posted

You can't. A folder will always have a timestamp of some kind - the closest you can get is to reset the creation and modification stamps to a specific value using Directory.SetCreationTime[^] and Directory.SetLastWriteTime[^]
 
Share this answer
 
You can't remove the time stamps. You can only change them to them to valid date/time values.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900