Wolfram Language & System 10.4 (2016)|Legacy Documentation
This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
sets the modification and access dates for a file to be the current date.
- SetFileDate["file",date] sets the modification and access dates to be the specified date.
- The date can be given as a date object or in the date list format as obtained from DateList.
- SetFileDate["file",date,"type"] sets if possible the specified type of date for a file. Types of dates include , , and . All represents all types of dates.
SetFileDate modifies the date of the file to be the current date:
Introduced in 1991
(2.0)| Updated in 2008