This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / System Interface / File System /

SetFileDate

FilledSmallSquare SetFileDate["file"] sets the modification date for a file to be the current date.

FilledSmallSquare SetFileDate["file", date] sets the modification date to be the specified date.

FilledSmallSquare The date must be given in the year, month, day, hour, minute, second format used by Date.

FilledSmallSquare See Section 2.12.6.

FilledSmallSquare See also: FileDate.

FilledSmallSquare Related package: Miscellaneous`Calendar`.

FilledSmallSquare New in Version 2.