This is documentation for Mathematica 3, 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

  • SetFileDate[" file "] sets the modification date for a file to be the current date.
  • SetFileDate[" file ", date ] sets the modification date to be the specified date.
  • The date must be given in the year , month , day , hour , minute , second format used by Date.
  • See the Mathematica book: Section 2.11.6.
  • See also: FileDate.
  • Related package: Miscellaneous`Calendar`.